Backend\UserGroupsController::edit PHP Метод

edit() публичный Метод

Show the form for editing the specified user groups.
public edit ( integer $id ) : Response
$id integer
Результат Response
    public function edit($id)
    {
        $user_group = $this->usergroup_manager->findGroupById($id);
        if ($user_group->hasAccess('superuser') && !current_user()->hasAccess('superuser')) {
            return App::abort(401);
        }
        $this->layout->title = 'Edit User Group';
        $this->layout->content = View::make($this->link_type . '.' . $this->current_theme . '.user_groups.create_edit')->with('access_areas', UserGroup::access_areas())->with('user_group', $user_group);
    }