From 718d0e39f282073ab5f654651aec226448cdb842 Mon Sep 17 00:00:00 2001 From: Mateja Date: Mon, 16 Nov 2020 22:42:08 +0100 Subject: Finished. No errors. Go to testing. --- routes/web.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'routes/web.php') 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']); -- cgit v1.2.3