public function before_filter(&$action, &$args) { $this->base = 'calendar/single/'; parent::before_filter($action, $args); if (Request::isXhr()) { $this->response->add_header('Content-Type', 'text/html; charset=windows-1252'); $this->layout = null; } }
public function before_filter(&$action, &$args) { $this->base = 'calendar/group/'; parent::before_filter($action, $args); }