✨ Ajoute la page de listing public
This commit is contained in:
@@ -22,11 +22,13 @@ Route::get('/', static function () {
|
||||
});
|
||||
|
||||
Auth::routes(['register' => false]);
|
||||
Route::feeds();
|
||||
Route::get('/home', static function () {
|
||||
if (Auth::guest()) {
|
||||
return redirect(\route('login'));
|
||||
}
|
||||
});
|
||||
Route::get('/list', 'PublicController@list')->name('public.list');
|
||||
Route::get('/{slug}', 'PublicController@show')->name('public.view');
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user