added comment to be more specific

added requirement of having custom function in allowed actions in redirection to it
This commit is contained in:
zemiacsik 2021-07-01 11:26:32 +02:00 committed by Daniel Hensby
parent 29320841c9
commit 2a845e420d
No known key found for this signature in database
GPG Key ID: D8DEBC4C8E7BC8B9

View File

@ -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/');