From d9bef7a420d743671d31a5cfd06ebd925ecbdd16 Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 9 Jul 2023 19:34:58 +0200 Subject: [PATCH] Add Deck + Demo Image Route --- src/routes/web.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/routes/web.php b/src/routes/web.php index b9b0317..50d104a 100644 --- a/src/routes/web.php +++ b/src/routes/web.php @@ -2,6 +2,7 @@ use App\Http\Controllers\ProfileController; use App\Http\Controllers\CardController; +use App\Http\Controllers\DeckController; use Illuminate\Support\Facades\Route; /* @@ -21,6 +22,9 @@ Route::get('/', function () { Route::get('cards', [CardController::class, 'index'])->name('cards.index'); +Route::get('decks', [DeckController::class, 'index'])->name('decks.index'); +Route::get('/test-image',[DeckController::class, 'viewImage'])->name('decks.view'); + Route::get('/dashboard', function () { return view('dashboard'); })->middleware(['auth', 'verified'])->name('dashboard');