diff options
author | Mateja <mail@matejamaric.com> | 2020-11-06 19:59:52 +0100 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2020-11-06 19:59:52 +0100 |
commit | 7907c1eecc37e5378da0e28838203c70c693ec71 (patch) | |
tree | 9857f84448852867b3cd85aece534478fb05d09e /routes/web.php | |
parent | 34b559e17e7896ca5b19221187f77c063b68d8eb (diff) | |
download | yota-laravel-7907c1eecc37e5378da0e28838203c70c693ec71.tar.gz yota-laravel-7907c1eecc37e5378da0e28838203c70c693ec71.zip |
Gallery work...
Diffstat (limited to 'routes/web.php')
-rw-r--r-- | routes/web.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/routes/web.php b/routes/web.php index 7797a17..02b5107 100644 --- a/routes/web.php +++ b/routes/web.php @@ -32,6 +32,9 @@ Route::get('/news/delete/{id}', [NewsController::class, 'destroy'])->name('newsD Route::get('/gallery', [GalleryController::class, 'index'])->name('gallery'); +Route::get('/gallery/add', [GalleryController::class, 'create'])->name('galleryAdd')->middleware(['auth']); +Route::post('/gallery/add', [GalleryController::class, 'create'])->name('galleryAddForm')->middleware(['auth']); +Route::get('/gallery/delete/{id}', [GalleryController::class, 'destroy'])->name('galleryDelete')->middleware(['auth']); Route::get('/special-calls', [ReservationsController::class, 'index'])->name('activities'); |