xxx
This commit is contained in:
parent
555637aab4
commit
a5e733634f
3 changed files with 6 additions and 5 deletions
|
@ -41,11 +41,11 @@ public function store(StoreOwnedRequest $request)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Display the specified resource.
|
* Manage the specified resource.
|
||||||
*
|
*
|
||||||
* @return \Illuminate\Http\Response
|
* @return \Illuminate\Http\Response
|
||||||
*/
|
*/
|
||||||
public function show(Owned $owned)
|
public function manage(Owned $owned)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
Approve
|
Approve
|
||||||
</button>
|
</button>
|
||||||
@elseif ($class == 'owned')
|
@elseif ($class == 'owned')
|
||||||
<a href="{{ route('admin.owned.show', $fl) }}" class="btn--table">View</a>
|
<a href="{{ route('admin.owned.manage', $fl) }}" class="btn--table">Manage</a>
|
||||||
@endif
|
@endif
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
|
@ -39,7 +39,8 @@
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
<x-admin.form.destroy :object="$fl" :route="'admin.'.$class.'.destroy'" :btnClass="'btn--table'" />
|
<x-admin.form.destroy :object="$fl" :route="'admin.'.$class.'.destroy'"
|
||||||
|
:btnClass="'btn--table'" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@endforeach
|
@endforeach
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
Route::get('/fanatic/owned', [OwnedController::class, 'index'])->name('admin.owned.index');
|
Route::get('/fanatic/owned', [OwnedController::class, 'index'])->name('admin.owned.index');
|
||||||
Route::get('/fanatic/owned/create', [OwnedController::class, 'create'])->name('admin.owned.create');
|
Route::get('/fanatic/owned/create', [OwnedController::class, 'create'])->name('admin.owned.create');
|
||||||
Route::post('/fanatic/owned', [OwnedController::class, 'store'])->name('admin.owned.store');
|
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::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::patch('/fanatic/owned/{owned}', [OwnedController::class, 'update'])->name('admin.owned.update');
|
||||||
Route::delete('/fanatic/owned/{owned}', [OwnedController::class, 'destroy'])->name('admin.owned.destroy');
|
Route::delete('/fanatic/owned/{owned}', [OwnedController::class, 'destroy'])->name('admin.owned.destroy');
|
||||||
|
|
Loading…
Reference in a new issue