public function beforeFilter() { parent::beforeFilter(); Configure::write('debug', 2); $this->Security->unlockedActions[] = 'admin_toggle'; $this->Security->unlockedActions[] = 'admin_add'; // $this->Security->requirePost[] = 'admin_moveup'; // $this->Security->requirePost[] = 'admin_movedown'; }
public function beforeFilter() { parent::beforeFilter(); $this->Security->unlockedActions[] = 'admin_toggle'; $this->Security->unlockedActions[] = 'admin_add'; }