Mise en place de Laravel 11 avec Fortify

This commit is contained in:
hugol
2024-11-12 18:19:10 +01:00
parent 999d5524d1
commit a21b69bd8f
212 changed files with 4837 additions and 52217 deletions

View File

@@ -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')