diff options
Diffstat (limited to 'routes')
-rw-r--r-- | routes/api.php | 1 | ||||
-rw-r--r-- | routes/web.php | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/routes/api.php b/routes/api.php index 413ea33..d85ea7a 100644 --- a/routes/api.php +++ b/routes/api.php @@ -21,4 +21,3 @@ Route::middleware('auth:api')->get('/user', function (Request $request) { }); Route::post('activities', [ReservationsController::class, 'index']); -Route::post('reservations', [ReservationsController::class, 'update'])->middleware(['auth']); 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']); |