routes/web.php: name /admin route.
This commit is contained in:
parent
291d6bd128
commit
a58a838435
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ Route::prefix('admin')->group(function() {
|
|||
|
||||
Route::middleware(['auth'])->group(function() {
|
||||
|
||||
Route::get('/', [AdminController::class, 'index']);
|
||||
Route::get('/', [AdminController::class, 'index'])->name('admin');
|
||||
|
||||
Route::get('/cards', [CardController::class, 'index'])->name('admin.card.index');
|
||||
Route::get('/cards/new', CardController::getForm())->name('admin.card.create');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue