diff options
author | Mateja <mail@matejamaric.com> | 2020-11-07 00:10:15 +0100 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2020-11-07 00:10:15 +0100 |
commit | e4fec1b5386c19a7c0bfb28b850862159c8710dd (patch) | |
tree | 21b6d41bda84fc85aaab996bdc2bf1bdb76d1cca /routes | |
parent | 7907c1eecc37e5378da0e28838203c70c693ec71 (diff) | |
download | yota-laravel-e4fec1b5386c19a7c0bfb28b850862159c8710dd.tar.gz yota-laravel-e4fec1b5386c19a7c0bfb28b850862159c8710dd.zip |
Work on gallery...
Diffstat (limited to 'routes')
-rw-r--r-- | routes/web.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/web.php b/routes/web.php index 02b5107..fc9297e 100644 --- a/routes/web.php +++ b/routes/web.php @@ -33,7 +33,7 @@ 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::post('/gallery/add', [GalleryController::class, 'store'])->name('galleryAddForm')->middleware(['auth']); Route::get('/gallery/delete/{id}', [GalleryController::class, 'destroy'])->name('galleryDelete')->middleware(['auth']); |