public function index()
    {
        $this->loadModel('User.Acos');
        $roles = $this->Acos->Roles->find()->all();

        $this->title(__d('user', 'User Roles List'));
        $this->set(compact('roles'));
        $this->Breadcrumb
            ->push('/admin/user/manage')
            ->push(__d('user', 'Roles'), ['plugin' => 'User', 'controller' => 'roles', 'action' => 'index']);
    }
public function index()
    {
        $this->loadModel('User.Acos');
        $roles = $this->Acos->Roles->find()->all();

        $this->title(__d('user', 'User Roles List'));
        $this->set(compact('roles'));
        $this->Breadcrumb
            ->push('/admin/user/manage')
            ->push(__d('user', 'Roles'), ['plugin' => 'User', 'controller' => 'roles', 'action' => 'index']);
    }
public function index ( ) { $ this -> loadModel ( 'User.Acos' ) ; $ roles = $ this -> Acos -> Roles -> find ( ) -> all ( ) ; $ this -> title ( __d ( 'user' , 'User Roles List' ) ) ; $ this -> set ( compact ( 'roles' ) ) ; $ this -> Breadcrumb -> push ( '/admin/user/manage' ) -> push ( __d ( 'user' , 'Roles' ) , [ 'plugin' => 'User' , 'controller' => 'roles' , 'action' => 'index' ] ) ; }
Shows a list of all available roles.

@return void
Shows a list of all available roles .