Add increment id to mount, add basic mount view page
This commit is contained in:
parent
976b669059
commit
77150b2551
8 changed files with 203 additions and 12 deletions
|
@ -54,6 +54,21 @@ class MountController extends Controller
|
|||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the mount view page.
|
||||
*
|
||||
* @param string $id
|
||||
* @return \Illuminate\View\View
|
||||
*
|
||||
* @throws \Pterodactyl\Exceptions\Repository\RecordNotFoundException
|
||||
*/
|
||||
public function view($id)
|
||||
{
|
||||
return view('admin.mounts.view', [
|
||||
'mount' => $this->repository->getWithRelations($id),
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle request to create new mount.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue