mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-21 23:52:31 -05:00
Sync up the traditional bootstrap web routes with the base ones
This commit is contained in:
parent
398b8ad1c0
commit
3335ca34c4
1 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Route;
|
||||
use App\Dashboard;
|
||||
use App\Utilities\Language;
|
||||
|
||||
/*
|
||||
|
@ -19,7 +21,7 @@ use App\Utilities\Language;
|
|||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
Route::auth([ 'register' => env('REGISTRATION', false) === true || env('REGISTRATION', false) === \Request::ip() ]);
|
||||
Route::auth([ 'register' => Dashboard::canRegister() ]);
|
||||
Route::get('/logout', 'Auth\LoginController@logout');
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue