Completed
Push — master ( 50f3e4...f53fbc )
by Cristian
02:20
created
src/BaseServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -68,15 +68,15 @@  discard block
 block discarded – undo
68 68
 
69 69
         // if not otherwise configured, setup the base routes
70 70
         if (config('backpack.base.setup_base_routes')) {
71
-            $router->group(['namespace' => 'Backpack\Base\app\Http\Controllers'], function ($router) {
71
+            $router->group(['namespace' => 'Backpack\Base\app\Http\Controllers'], function($router) {
72 72
                 // All BackPack routes are placed under the 'admin' prefix, to minimize possible conflicts with your application. This means your login/logout/register urls are also under the 'admin' prefix, so you can have separate logins for users and admins.
73
-                Route::group(['middleware' => 'web', 'prefix' => config('backpack.base.route_prefix')], function () {
73
+                Route::group(['middleware' => 'web', 'prefix' => config('backpack.base.route_prefix')], function() {
74 74
                     // Admin authentication routes
75 75
                     Route::auth();
76 76
 
77 77
                     // Other Backpack\Base routes
78 78
                     Route::get('dashboard', 'AdminController@dashboard');
79
-                    Route::get('/', function () {
79
+                    Route::get('/', function() {
80 80
                         // The '/admin' route is not to be used as a page, because it breaks the menu's active state.
81 81
                         return redirect(config('backpack.base.route_prefix').'/dashboard');
82 82
                     });
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
     public function register()
94 94
     {
95 95
         // register the current package
96
-        $this->app->bind('base', function ($app) {
96
+        $this->app->bind('base', function($app) {
97 97
             return new Base($app);
98 98
         });
99 99
 
Please login to merge, or discard this patch.