13 lines
383 B
PHP
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'); |