aboutsummaryrefslogtreecommitdiff
path: root/routes/api.php
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-11-16 20:15:43 +0100
committerMateja <mail@matejamaric.com>2020-11-16 20:15:43 +0100
commit26bdfee839f4b8fb18beb1a9770fc758ad20c267 (patch)
tree1b928e64a2eab9f97f60d8ac1011fac379af71b5 /routes/api.php
parent03616b700748fe4e44eea484a4d7679121517791 (diff)
downloadyota-laravel-26bdfee839f4b8fb18beb1a9770fc758ad20c267.tar.gz
yota-laravel-26bdfee839f4b8fb18beb1a9770fc758ad20c267.zip
AJAX filtering reservations on admin panel...
Diffstat (limited to 'routes/api.php')
-rw-r--r--routes/api.php1
1 files changed, 1 insertions, 0 deletions
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']);