slink/laravel/routes/web.php

13 lines
289 B
PHP

<?php
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\RegisterController;
Route::get('/', function () {
return view('welcome');
});
Route::get('/register', function () {
return view('register');
});
Route::post('/register', [RegisterController::class, 'create']);