@@ -66,13 +66,13 @@ 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 | Route::group( |
71 | 71 | [ |
72 | 72 | 'middleware' => 'web', |
73 | 73 | 'prefix' => config('backpack.base.route_prefix') |
74 | 74 | ], |
75 | - function () { |
|
75 | + function() { |
|
76 | 76 | // if not otherwise configured, setup the auth routes |
77 | 77 | if (config('backpack.base.setup_auth_routes')) { |
78 | 78 | Route::auth(); |
@@ -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 |
@@ -33,7 +33,7 @@ |
||
33 | 33 | $this->middleware('guest'); |
34 | 34 | |
35 | 35 | // where to redirect after password was reset |
36 | - $this->redirectTo = property_exists($this, 'redirectTo')? $this->redirectTo : config('backpack.base.route_prefix', 'admin').'/dashboard'; |
|
36 | + $this->redirectTo = property_exists($this, 'redirectTo') ? $this->redirectTo : config('backpack.base.route_prefix', 'admin').'/dashboard'; |
|
37 | 37 | } |
38 | 38 | |
39 | 39 | // ------------------------------------------------------- |