🔧 Complète les ≠ paramètres

This commit is contained in:
Clement 2020-07-23 14:56:26 +02:00
parent 7bed68c4eb
commit 1d6edcf577
2 changed files with 7 additions and 4 deletions

View File

@ -13,7 +13,7 @@ return [
| |
*/ */
'name' => env('APP_NAME', 'Laravel'), 'name' => env('APP_NAME', 'My Home Collection'),
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
@ -80,7 +80,7 @@ return [
| |
*/ */
'locale' => 'en', 'locale' => 'fr',
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
@ -106,7 +106,7 @@ return [
| |
*/ */
'faker_locale' => 'en_US', 'faker_locale' => 'fr_FR',
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------

View File

@ -14,7 +14,10 @@ use Illuminate\Support\Facades\Route;
*/ */
Route::get('/', function () { Route::get('/', function () {
return view('welcome'); if (\Illuminate\Support\Facades\Auth::guest()) {
return redirect(\route('home'));
}
return redirect(\route('login'));
}); });
Auth::routes(); Auth::routes();