function beforeFilter()
 {
     parent::beforeFilter();
     if (isset($this->Auth)) {
         $this->Auth->allow('banned');
     }
 }
Ejemplo n.º 2
0
 public function beforeFilter()
 {
     parent::beforeFilter();
     $this->set('slots', $this->SeoABTest->slots);
 }