public function edit($id)
{
try {
$permission = $this->permissions->findOrThrowException($id, true);
return view('vault::roles.permissions.edit')->withPermission($permission)->withPermissionRoles($permission->roles->lists('id')->all())->withRoles($this->roles->getAllRoles());
} catch (Exception $e) {
return Redirect::route('access.roles.permissions.index')->withFlashDanger($e->getMessage());
}
}