Mise en place de Laravel 11 avec Fortify
This commit is contained in:
@@ -2,20 +2,13 @@
|
||||
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Web Routes
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here is where you can register web routes for your application. These
|
||||
| routes are loaded by the RouteServiceProvider and all of them will
|
||||
| be assigned to the "web" middleware group. Make something great!
|
||||
|
|
||||
*/
|
||||
Route::get('/', function () {
|
||||
return view('welcome');
|
||||
});
|
||||
|
||||
Route::get('/', [\App\Http\Controllers\HomeController::class, 'index'])->middleware('auth');
|
||||
|
||||
Route::get('/aplifier/list', [\App\Http\Controllers\ContestController::class, 'twitterlist']);
|
||||
Route::view('home', 'home')
|
||||
->name('home')
|
||||
->middleware(['auth']);
|
||||
|
||||
Route::view('profile', 'profile.edit')
|
||||
->name('profile.edit')
|
||||
|
||||
Reference in New Issue
Block a user