public function update($id)
{
try {
$this->roles->update($id, Input::except('role_permissions'), Input::only('role_permissions'));
} catch (Exception $e) {
return Redirect::back()->withInput()->withFlashDanger($e->getMessage());
}
return Redirect::route('access.roles.index')->withFlashSuccess('The role was successfully updated.');
}