Fix 404 when trying to view a server

This commit is contained in:
Dane Everitt 2017-09-29 21:54:00 -05:00
parent fb7ef2d775
commit 0e0a8d4347
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -50,7 +50,7 @@ class RouteServiceProvider extends ServiceProvider
->namespace($this->namespace . '\Auth') ->namespace($this->namespace . '\Auth')
->group(base_path('routes/auth.php')); ->group(base_path('routes/auth.php'));
Route::middleware(['web', 'csrf', 'auth', 'server', 'subuser'])->prefix('/server/{server}') Route::middleware(['web', 'csrf', 'auth', 'server'])->prefix('/server/{server}')
->namespace($this->namespace . '\Server') ->namespace($this->namespace . '\Server')
->group(base_path('routes/server.php')); ->group(base_path('routes/server.php'));