From 0e0a8d4347b41e7608b4ad8b23719b921131ce93 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Fri, 29 Sep 2017 21:54:00 -0500 Subject: [PATCH] Fix 404 when trying to view a server --- app/Providers/RouteServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php index e17f96b45..bdd97609e 100644 --- a/app/Providers/RouteServiceProvider.php +++ b/app/Providers/RouteServiceProvider.php @@ -50,7 +50,7 @@ class RouteServiceProvider extends ServiceProvider ->namespace($this->namespace . '\Auth') ->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') ->group(base_path('routes/server.php'));