diff options
author | Mateja <mail@matejamaric.com> | 2020-11-06 17:25:22 +0100 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2020-11-06 17:25:22 +0100 |
commit | 7af18c65418027a4cc1cb9fe71f11489029c3912 (patch) | |
tree | ec86b4b0590fa2603c7d5384ebc6ded003d9b5fe /routes | |
parent | 8503bedc8475543e8b20b40fe4c43576d151ae05 (diff) | |
download | yota-laravel-7af18c65418027a4cc1cb9fe71f11489029c3912.tar.gz yota-laravel-7af18c65418027a4cc1cb9fe71f11489029c3912.zip |
GalleryController, better news, using Bootstrap.
Diffstat (limited to 'routes')
-rw-r--r-- | routes/web.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/routes/web.php b/routes/web.php index aa5492b..7797a17 100644 --- a/routes/web.php +++ b/routes/web.php @@ -1,9 +1,10 @@ <?php use Illuminate\Support\Facades\Route; +use App\Http\Controllers\PagesController; use App\Http\Controllers\LoginController; use App\Http\Controllers\NewsController; -use App\Http\Controllers\PagesController; +use App\Http\Controllers\GalleryController; use App\Http\Controllers\ReservationsController; use App\Http\Controllers\SpecialCallsController; @@ -30,7 +31,7 @@ Route::post('/news/edit/{id}', [NewsController::class, 'update'])->name('newsEdi Route::get('/news/delete/{id}', [NewsController::class, 'destroy'])->name('newsDelete')->middleware(['auth']); -Route::get('/gallery', [PagesController::class, 'gallery'])->name('gallery'); +Route::get('/gallery', [GalleryController::class, 'index'])->name('gallery'); Route::get('/special-calls', [ReservationsController::class, 'index'])->name('activities'); |