Example route for web login.

This commit is contained in:
2024-11-26 08:07:44 +01:00
parent 2daea2c10a
commit 2513729840
2 changed files with 6 additions and 40 deletions

View File

@@ -1,7 +1,11 @@
<?php
use App\Http\Controllers\AuthController;
use Illuminate\Support\Facades\Route;
Route::get('/', function () {
return view('welcome');
});
// Example route for login
Route::get('/login', [AuthController::class, 'login'])->name('login');