public function preExecute() { parent::preExecute(); $response = $this->getResponse(); if ($response instanceof sfWebResponse) { $response->addJavascript('policat_widget_outer_opt', 'last'); $response->addJavascript('dashboard_home', 'last'); } }
public function preExecute() { parent::preExecute(); policatActions::preExecuteCacheHeaders($this->getRequest(), $this->getResponse(), $this->getUser(), $this->isSecure()); }