diff --git a/app/Http/Controllers/OwnedController.php b/app/Http/Controllers/OwnedController.php index fa2c349..3672354 100644 --- a/app/Http/Controllers/OwnedController.php +++ b/app/Http/Controllers/OwnedController.php @@ -41,11 +41,11 @@ public function store(StoreOwnedRequest $request) } /** - * Display the specified resource. + * Manage the specified resource. * * @return \Illuminate\Http\Response */ - public function show(Owned $owned) + public function manage(Owned $owned) { } diff --git a/resources/views/livewire/admin/list-fanlistings.blade.php b/resources/views/livewire/admin/list-fanlistings.blade.php index a7b8cbb..c4c900a 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 + Manage @endif @@ -39,7 +39,8 @@ - + @endforeach diff --git a/routes/web.php b/routes/web.php index a60bdba..883271a 100644 --- a/routes/web.php +++ b/routes/web.php @@ -43,7 +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}', [OwnedController::class, 'manage'])->name('admin.owned.manage'); 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');