aboutsummaryrefslogtreecommitdiff
path: root/routes/web.php
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-11-13 01:47:38 +0100
committerMateja <mail@matejamaric.com>2020-11-13 01:47:38 +0100
commitcddef1ffc9cb204d87299cea7e9f2de0cf6e58c3 (patch)
treea35436b5e59a28a2b03bd77750368e9f30fdfc5f /routes/web.php
parent470a54a8c6e92416a8245af0bc87170ad934fae0 (diff)
downloadyota-laravel-cddef1ffc9cb204d87299cea7e9f2de0cf6e58c3.tar.gz
yota-laravel-cddef1ffc9cb204d87299cea7e9f2de0cf6e58c3.zip
Work on activities...
Diffstat (limited to 'routes/web.php')
-rw-r--r--routes/web.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/web.php b/routes/web.php
index bba3ab5..4517722 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -30,6 +30,7 @@ Route::get('/news/edit/{id}', [NewsController::class, 'edit'])->name('newsEdit')
Route::post('/news/edit/{id}', [NewsController::class, 'update'])->name('newsEditForm')->middleware(['auth']);
Route::get('/news/delete/{id}', [NewsController::class, 'destroy'])->name('newsDelete')->middleware(['auth']);
+Route::post('/api/activities', [ReservationsController::class, 'index']);
Route::get('/gallery', [GalleryController::class, 'index'])->name('gallery');
Route::get('/gallery/add', [GalleryController::class, 'create'])->name('galleryAdd')->middleware(['auth']);