Nest & Egg management working through the ACP now.
This commit is contained in:
parent
df87ea0867
commit
6b8464ea3a
32 changed files with 616 additions and 566 deletions
|
@ -145,12 +145,12 @@ class NestController extends Controller
|
|||
/**
|
||||
* Handle request to delete a nest.
|
||||
*
|
||||
* @param \Pterodactyl\Models\Nest $nest
|
||||
* @param int $nest
|
||||
* @return \Illuminate\Http\RedirectResponse
|
||||
*
|
||||
* @throws \Pterodactyl\Exceptions\Service\HasActiveServersException
|
||||
*/
|
||||
public function destroy($nest): RedirectResponse
|
||||
public function destroy(int $nest): RedirectResponse
|
||||
{
|
||||
$this->nestDeletionService->handle($nest);
|
||||
$this->alert->success(trans('admin/nests.notices.deleted'))->flash();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue