From 2a845e420da22d717e922c28442ab76136f93cc0 Mon Sep 17 00:00:00 2001 From: zemiacsik Date: Thu, 1 Jul 2021 11:26:32 +0200 Subject: [PATCH] added comment to be more specific added requirement of having custom function in allowed actions in redirection to it --- docs/en/02_Developer_Guides/02_Controllers/04_Redirection.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/02_Developer_Guides/02_Controllers/04_Redirection.md b/docs/en/02_Developer_Guides/02_Controllers/04_Redirection.md index 91a7ada78..6d677c6bb 100644 --- a/docs/en/02_Developer_Guides/02_Controllers/04_Redirection.md +++ b/docs/en/02_Developer_Guides/02_Controllers/04_Redirection.md @@ -13,7 +13,7 @@ HTTP header. ```php -$this->redirect('goherenow'); +$this->redirect($this->Link('goherenow')); // redirect to Page::goherenow(), i.e on the contact-us page this will redirect to /contact-us/goherenow/ $this->redirect('goherenow/');