public function changePasswordAction(Request $request) { $event = new \SKCMS\FrontBundle\Event\PreRenderEvent($this->getRequest()); $this->get('event_dispatcher')->dispatch(\SKCMS\FrontBundle\Event\SKCMSFrontEvents::PRE_RENDER, $event); $response = parent::changePasswordAction($request); return $response; }
/** * {@inheritdoc} */ public function render($view, array $parameters = array(), Response $response = null) { return $this->renderDocumentResponse(parent::render($view, $parameters, $response)); }