Laravel/routes/web.php
2024-11-04 14:39:26 +01:00

13 lines
383 B
PHP

<?php
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\AboutController;
use App\Http\Controllers\HomeController;
use App\Http\Controllers\TodoController;
Route::get('/', [HomeController::class, 'index'])->name('route0');
Route::get('/about', [AboutController::class, 'index'])->name('route1');
Route::get('/todo', [TodoController::class, 'index'])->name('route2');