function beforeFilter() { parent::beforeFilter(); $this->Auth->allow(array('index')); }
function beforeFilter() { parent::beforeFilter(); //$this->Auth->allowedActions = array('*'); }
public function beforeFilter() { parent::beforeFilter(); $this->Auth->allow("index", "view", "comment"); }