mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
added comment to be more specific
added requirement of having custom function in allowed actions in redirection to it
This commit is contained in:
parent
29320841c9
commit
2a845e420d
@ -13,7 +13,7 @@ HTTP header.
|
|||||||
|
|
||||||
|
|
||||||
```php
|
```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/
|
// redirect to Page::goherenow(), i.e on the contact-us page this will redirect to /contact-us/goherenow/
|
||||||
|
|
||||||
$this->redirect('goherenow/');
|
$this->redirect('goherenow/');
|
||||||
|
Loading…
Reference in New Issue
Block a user