From 26bdfee839f4b8fb18beb1a9770fc758ad20c267 Mon Sep 17 00:00:00 2001 From: Mateja Date: Mon, 16 Nov 2020 20:15:43 +0100 Subject: AJAX filtering reservations on admin panel... --- routes/api.php | 1 + 1 file changed, 1 insertion(+) (limited to 'routes/api.php') diff --git a/routes/api.php b/routes/api.php index d85ea7a..413ea33 100644 --- a/routes/api.php +++ b/routes/api.php @@ -21,3 +21,4 @@ Route::middleware('auth:api')->get('/user', function (Request $request) { }); Route::post('activities', [ReservationsController::class, 'index']); +Route::post('reservations', [ReservationsController::class, 'update'])->middleware(['auth']); -- cgit v1.2.3