@@ -66,8 +66,8 @@ discard block |
||
66 | 66 | // register the 'admin' middleware |
67 | 67 | $router->middleware('admin', app\Http\Middleware\Admin::class); |
68 | 68 | |
69 | - $router->group(['namespace' => 'Backpack\Base\app\Http\Controllers'], function ($router) { |
|
70 | - Route::group(['middleware' => 'web', 'prefix' => config('backpack.base.route_prefix')], function () { |
|
69 | + $router->group(['namespace' => 'Backpack\Base\app\Http\Controllers'], function($router) { |
|
70 | + Route::group(['middleware' => 'web', 'prefix' => config('backpack.base.route_prefix')], function() { |
|
71 | 71 | |
72 | 72 | // if not otherwise configured, setup the auth routes |
73 | 73 | if (config('backpack.base.setup_auth_routes')) { |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | // if not otherwise configured, setup the dashboard routes |
78 | 78 | if (config('backpack.base.setup_dashboard_routes')) { |
79 | 79 | Route::get('dashboard', 'AdminController@dashboard'); |
80 | - Route::get('/', function () { |
|
80 | + Route::get('/', function() { |
|
81 | 81 | // The '/admin' route is not to be used as a page, because it breaks the menu's active state. |
82 | 82 | return redirect(config('backpack.base.route_prefix').'/dashboard'); |
83 | 83 | }); |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | public function register() |
95 | 95 | { |
96 | 96 | // register the current package |
97 | - $this->app->bind('base', function ($app) { |
|
97 | + $this->app->bind('base', function($app) { |
|
98 | 98 | return new Base($app); |
99 | 99 | }); |
100 | 100 |