aboutsummaryrefslogtreecommitdiff
path: root/routes/web.php
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-11-16 22:42:08 +0100
committerMateja <mail@matejamaric.com>2020-11-16 22:42:08 +0100
commit718d0e39f282073ab5f654651aec226448cdb842 (patch)
tree740ad5e47db6b7e2acd555778e0c69a211ef10c3 /routes/web.php
parent26bdfee839f4b8fb18beb1a9770fc758ad20c267 (diff)
downloadyota-laravel-718d0e39f282073ab5f654651aec226448cdb842.tar.gz
yota-laravel-718d0e39f282073ab5f654651aec226448cdb842.zip
Finished. No errors. Go to testing.
Diffstat (limited to 'routes/web.php')
-rw-r--r--routes/web.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/routes/web.php b/routes/web.php
index 393b226..20437b1 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -43,6 +43,8 @@ Route::post('/special-calls/reserve', [ReservationsController::class, 'store'])-
Route::get('/special-calls/reservations', [ReservationsController::class, 'edit'])->name('reservations')->middleware(['auth']);
Route::post('/special-calls/reservations', [ReservationsController::class, 'edit'])->name('reservationsForm')->middleware(['auth']);
+Route::post('/api/reservations', [ReservationsController::class, 'update'])->middleware(['auth']);
+
Route::get('/special-calls/add', [SpecialCallsController::class, 'create'])->name('addSign')->middleware(['auth']);
Route::post('/special-calls/add', [SpecialCallsController::class, 'store'])->name('addSignForm')->middleware(['auth']);