src/Http/Handlers/ControlPane.php
public function compose($name = null, $options = array())
    {

        $menu = app('antares.widget')->make('menu.control.pane');
        $auth = app('auth');

        $acl                  = app('antares.acl')->make('antares/acl');
        $canAdministratorList = $auth->is('super-administrator') && $acl->can('admin-list');
        $canRoleList          = $acl->can('roles-list');
        if (!$canAdministratorList and ! $canRoleList) {
            return;
        }

        $menu->add('general-settings')
                ->link(handles('antares::settings/index'))
                ->title(trans('System'))
                ->icon('zmdi-settings');


        $pane = app()->make('antares.widget')->make('pane.left');
        $pane->add('control')->content(view('antares/acl::partial._control_pane'));
    }
public function compose($name = null, $options = array())
    {

        $menu = app('antares.widget')->make('menu.control.pane');
        $auth = app('auth');

        $acl                  = app('antares.acl')->make('antares/acl');
        $canAdministratorList = $auth->is('super-administrator') && $acl->can('admin-list');
        $canRoleList          = $acl->can('roles-list');
        if (!$canAdministratorList and ! $canRoleList) {
            return;
        }

        $menu->add('general-settings')
                ->link(handles('antares::settings/index'))
                ->title(trans('System'))
                ->icon('zmdi-settings');


        $pane = app()->make('antares.widget')->make('pane.left');
        $pane->add('control')->content(view('antares/acl::partial._control_pane'));
    }
Handle pane for dashboard page.

@return void