Completed
Push — master ( ad9fd3...f02830 )
by Cristian
02:27
created
src/app/Http/Controllers/Auth/AuthController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
      * Handle a registration request for the application.
123 123
      *
124 124
      * @param  \Illuminate\Http\Request  $request
125
-     * @return \Illuminate\Http\Response
125
+     * @return \Illuminate\Http\RedirectResponse
126 126
      */
127 127
     public function register(Request $request)
128 128
     {
Please login to merge, or discard this patch.
src/resources/error_views/401.blade.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 
20 20
           <p>
21 21
             <?php
22
-              $default_error_message = "Meanwhile, you may <a href='".url('admin')."'>return to dashboard</a>";
22
+                $default_error_message = "Meanwhile, you may <a href='".url('admin')."'>return to dashboard</a>";
23 23
             ?>
24 24
             {!! isset($exception)? ($exception->getMessage()?$exception->getMessage():$default_error_message): $default_error_message !!}
25 25
           </p>
Please login to merge, or discard this patch.
src/BaseServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
      */
61 61
     public function setupRoutes(Router $router)
62 62
     {
63
-        $router->group(['namespace' => 'Backpack\Base\app\Http\Controllers'], function ($router) {
63
+        $router->group(['namespace' => 'Backpack\Base\app\Http\Controllers'], function($router) {
64 64
             require __DIR__.'/app/Http/routes.php';
65 65
         });
66 66
     }
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 
83 83
     private function registerBase()
84 84
     {
85
-        $this->app->bind('base', function ($app) {
85
+        $this->app->bind('base', function($app) {
86 86
             return new Base($app);
87 87
         });
88 88
     }
Please login to merge, or discard this patch.
src/app/Http/routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 // 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.
4
-Route::group(['middleware' => 'web', 'prefix' => 'admin'], function () {
4
+Route::group(['middleware' => 'web', 'prefix' => 'admin'], function() {
5 5
     // Admin authentication routes
6 6
     Route::auth();
7 7
 
Please login to merge, or discard this patch.