diff --git a/src/routes.php b/src/routes.php index 507c6e2..dcdf7aa 100644 --- a/src/routes.php +++ b/src/routes.php @@ -1,6 +1,6 @@ 'web'], function($router) { +Route::group(['middleware' => ['web', 'dev']], function($router) { $router->get('/skn/notifications', function(){ return \Laravel\Spark\Notification::with('creator')->with('user')->orderBy('created_at', 'desc')->get(); });