remove unnecessary indentation

This commit is contained in:
Samuel Štancl 2023-09-14 17:01:40 +02:00 committed by GitHub
parent f266bb0f4c
commit 691f6c491d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,19 +26,18 @@ In Livewire 3, the configuration key `middleware_group` has been removed, so ins
```php
public function boot(): void
{
...
Livewire::setUpdateRoute(function ($handle) {
return Route::post('/livewire/update', $handle)
->middleware(
'web',
'universal',
InitializeTenancyByDomain::class, // or whatever tenancy middleware you use
);
});
}
{
// ...
Livewire::setUpdateRoute(function ($handle) {
return Route::post('/livewire/update', $handle)
->middleware(
'web',
'universal',
InitializeTenancyByDomain::class, // or whatever tenancy middleware you use
);
});
}
```
(Don't forget to import the middleware class.)