Add increment id to mount, add basic mount view page

This commit is contained in:
Matthew Penner 2020-05-20 19:11:20 -06:00
parent 976b669059
commit 77150b2551
8 changed files with 203 additions and 12 deletions

View file

@ -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.
*