示例#1
0
 public function beforeFilter()
 {
     parent::beforeFilter();
     //$this->Auth->allow('display');
 }
 function beforeFilter()
 {
     parent::beforeFilter();
     $this->Auth->allow(array('view', 'index', 'archive'));
 }