aboutsummaryrefslogtreecommitdiff
path: root/routes/web.php
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-10-28 00:19:52 +0100
committerMateja <mail@matejamaric.com>2020-10-28 00:19:52 +0100
commit806b02418b9ee53039de96baf9cfcca1c6fa9257 (patch)
tree1ce01e02f33bd1e6349f7e4a9a9d168f683496bc /routes/web.php
parenta3d432a6a0710261149fdaecdc2a5a62a82fe303 (diff)
downloadyota-laravel-806b02418b9ee53039de96baf9cfcca1c6fa9257.tar.gz
yota-laravel-806b02418b9ee53039de96baf9cfcca1c6fa9257.zip
Authentication implemented.
Diffstat (limited to 'routes/web.php')
-rw-r--r--routes/web.php1
1 files changed, 1 insertions, 0 deletions
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');