slink/laravel/routes/web.php

13 lines
289 B
PHP
Raw Normal View History

2024-06-09 20:31:11 +00:00
<?php
use Illuminate\Support\Facades\Route;
2024-06-09 21:45:57 +00:00
use App\Http\Controllers\RegisterController;
2024-06-09 20:31:11 +00:00
Route::get('/', function () {
return view('welcome');
});
2024-06-09 21:45:57 +00:00
Route::get('/register', function () {
return view('register');
});
Route::post('/register', [RegisterController::class, 'create']);