🔧 Complète les ≠ paramètres
This commit is contained in:
parent
7bed68c4eb
commit
1d6edcf577
@ -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',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -14,7 +14,10 @@ use Illuminate\Support\Facades\Route;
|
||||
*/
|
||||
|
||||
Route::get('/', function () {
|
||||
return view('welcome');
|
||||
if (\Illuminate\Support\Facades\Auth::guest()) {
|
||||
return redirect(\route('home'));
|
||||
}
|
||||
return redirect(\route('login'));
|
||||
});
|
||||
|
||||
Auth::routes();
|
||||
|
Loading…
Reference in New Issue
Block a user