|
|
|
@ -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');
|
|
|
|
|