aboutsummaryrefslogtreecommitdiff
path: root/routes
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-10-20 23:56:05 +0200
committerMateja <mail@matejamaric.com>2020-10-20 23:56:05 +0200
commit4b92a7928ec6634dff4ca066af0a43ad1cfb3c46 (patch)
tree3a224191e059c9691fed0a5b46119312ffcb714d /routes
parentd78e06a328b1f06ae0bbe77a2d96cb304e23878d (diff)
downloadyota-laravel-4b92a7928ec6634dff4ca066af0a43ad1cfb3c46.tar.gz
yota-laravel-4b92a7928ec6634dff4ca066af0a43ad1cfb3c46.zip
Learning about forms, POST, validation and AJAX in Laravel.
Diffstat (limited to 'routes')
-rw-r--r--routes/web.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/web.php b/routes/web.php
index b3912ab..cbbbc27 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -36,6 +36,7 @@ Route::get('/gallery', [PagesController::class, 'gallery'])->name('gallery');
Route::get('/sponsoring', [PagesController::class, 'sponsoring'])->name('sponsoring');
Route::get('/activities', [PagesController::class, 'activities'])->name('activities');
Route::get('/reserve', [PagesController::class, 'reserve'])->name('reserve');
+Route::post('/reserve', [PagesController::class, 'reserveForm'])->name('reserveForm');
Route::get('/login', [PagesController::class, 'login'])->name('login');