From 806b02418b9ee53039de96baf9cfcca1c6fa9257 Mon Sep 17 00:00:00 2001 From: Mateja Date: Wed, 28 Oct 2020 00:19:52 +0100 Subject: Authentication implemented. --- routes/web.php | 1 + 1 file changed, 1 insertion(+) (limited to 'routes') diff --git a/routes/web.php b/routes/web.php index 0d42dc9..7a156a4 100644 --- a/routes/web.php +++ b/routes/web.php @@ -40,6 +40,7 @@ Route::post('/reserve', [PagesController::class, 'reserveForm'])->name('reserveF Route::get('/login', [PagesController::class, 'login'])->name('login'); Route::post('/login', [PagesController::class, 'loginForm'])->name('loginForm'); +Route::get('/logout', [PagesController::class, 'logout'])->name('logout'); //Route::get('/about', [PagesController::class, 'about'])->name('about'); //Route::get('/about', 'App\Http\Controllers\PagesController@about'); -- cgit v1.2.3