@@ -1,7 +1,7 @@ |
||
| 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 | |
@@ -11,13 +11,13 @@ |
||
| 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 | |