Nette Framework – redirect

Notice: This thread is very old.
Takeshi
Member | 566
+
0
-

Hi all,

how can I do redirect to same Presenter but diffrent template.latte? Thank you. … from another latte

Last edited by Takeshi (2013-11-21 17:19)

hrach
Member | 1816
+
0
-

Templates are connecter with render method (view). Redirect to another view:

// in presenter
$this->redirect('anotherView');

Redirecting should happened before render* phase. do it in signals (handle*) or action* methods.

Last edited by hrach (2013-11-21 17:21)