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