From e4fec1b5386c19a7c0bfb28b850862159c8710dd Mon Sep 17 00:00:00 2001 From: Mateja Date: Sat, 7 Nov 2020 00:10:15 +0100 Subject: Work on gallery... --- routes/web.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routes') 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']); -- cgit v1.2.3