public function __construct() { parent::__construct(); // Our layout will still be instantiated now. $this->filter('before', 'auth')->except(array("index", "destroy", "create")); }
public function __construct() { parent::__construct(); $this->filter('before', 'validate_admin'); }