Completed
Push — master ( f53fbc...d17fd0 )
by Cristian
02:25
created
src/BaseServiceProvider.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -68,8 +68,8 @@  discard block
 block discarded – undo
68 68
 
69 69
         // if not otherwise configured, setup the auth routes
70 70
         if (config('backpack.base.setup_auth_routes')) {
71
-            $router->group(['namespace' => 'Backpack\Base\app\Http\Controllers'], function ($router) {
72
-                Route::group(['middleware' => 'web', 'prefix' => config('backpack.base.route_prefix')], function () {
71
+            $router->group(['namespace' => 'Backpack\Base\app\Http\Controllers'], function($router) {
72
+                Route::group(['middleware' => 'web', 'prefix' => config('backpack.base.route_prefix')], function() {
73 73
                     // Admin authentication routes
74 74
                     Route::auth();
75 75
                 });
@@ -78,12 +78,12 @@  discard block
 block discarded – undo
78 78
 
79 79
         // if not otherwise configured, setup the base routes
80 80
         if (config('backpack.base.setup_base_routes')) {
81
-            $router->group(['namespace' => 'Backpack\Base\app\Http\Controllers'], function ($router) {
82
-                Route::group(['middleware' => 'web', 'prefix' => config('backpack.base.route_prefix')], function () {
81
+            $router->group(['namespace' => 'Backpack\Base\app\Http\Controllers'], function($router) {
82
+                Route::group(['middleware' => 'web', 'prefix' => config('backpack.base.route_prefix')], function() {
83 83
 
84 84
                     // Admin dashboard routes
85 85
                     Route::get('dashboard', 'AdminController@dashboard');
86
-                    Route::get('/', function () {
86
+                    Route::get('/', function() {
87 87
                         // The '/admin' route is not to be used as a page, because it breaks the menu's active state.
88 88
                         return redirect(config('backpack.base.route_prefix').'/dashboard');
89 89
                     });
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
     public function register()
101 101
     {
102 102
         // register the current package
103
-        $this->app->bind('base', function ($app) {
103
+        $this->app->bind('base', function($app) {
104 104
             return new Base($app);
105 105
         });
106 106
 
Please login to merge, or discard this patch.