public function redirectUrl($url, $code = NULL) { $this->redirect = TRUE; try { parent::redirectUrl($url, $code); } finally { $this->redirect = FALSE; } }
public function redirectOnlinePayment(Nette\Application\UI\Presenter $presenter) { $presenter->redirectUrl($this->getRedirectUrl()); }