From 985febc9620f11630ae0cc3a15c900cff3f93361 Mon Sep 17 00:00:00 2001 From: Marley Rae Date: Wed, 27 Apr 2022 19:00:21 -0700 Subject: [PATCH] fixes --- resources/views/components/admin/nav.blade.php | 3 ++- resources/views/livewire/admin/list-fanlistings.blade.php | 2 +- routes/web.php | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/views/components/admin/nav.blade.php b/resources/views/components/admin/nav.blade.php index 5ab7d48..1565ed1 100644 --- a/resources/views/components/admin/nav.blade.php +++ b/resources/views/components/admin/nav.blade.php @@ -6,7 +6,8 @@ Add New @break @case('owned') - + All Owned + Add New @break @default diff --git a/resources/views/livewire/admin/list-fanlistings.blade.php b/resources/views/livewire/admin/list-fanlistings.blade.php index fd717fa..8eeb7d8 100644 --- a/resources/views/livewire/admin/list-fanlistings.blade.php +++ b/resources/views/livewire/admin/list-fanlistings.blade.php @@ -30,7 +30,7 @@ Approve @elseif ($class == 'owned') - View + View @endif diff --git a/routes/web.php b/routes/web.php index 4f348d4..a60bdba 100644 --- a/routes/web.php +++ b/routes/web.php @@ -43,6 +43,7 @@ Route::get('/fanatic/owned', [OwnedController::class, 'index'])->name('admin.owned.index'); Route::get('/fanatic/owned/create', [OwnedController::class, 'create'])->name('admin.owned.create'); Route::post('/fanatic/owned', [OwnedController::class, 'store'])->name('admin.owned.store'); + Route::get('/fanatic/owned/{owned}', [OwnedController::class, 'show'])->name('admin.owned.show'); Route::get('/fanatic/owned/{owned}/edit', [OwnedController::class, 'edit'])->name('admin.owned.edit'); Route::patch('/fanatic/owned/{owned}', [OwnedController::class, 'update'])->name('admin.owned.update'); Route::delete('/fanatic/owned/{owned}', [OwnedController::class, 'destroy'])->name('admin.owned.destroy');