Completed
Push — master ( d384cb...2c2c4d )
by Cristian
02:30
created
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.
src/app/Http/Controllers/Controller.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -11,13 +11,13 @@
 block discarded – undo
11 11
 {
12 12
     use AuthorizesRequests, DispatchesJobs, ValidatesRequests;
13 13
 
14
-	/**
15
-	 * Redirect the user to the login screen.
16
-	 */
17
-	public function redirectToLogin()
18
-	{
19
-	    return redirect('admin/login');
20
-	}
14
+    /**
15
+     * Redirect the user to the login screen.
16
+     */
17
+    public function redirectToLogin()
18
+    {
19
+        return redirect('admin/login');
20
+    }
21 21
 
22 22
 }
23 23
 
Please login to merge, or discard this patch.