mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #10007 from zemiacsik/patch-5
added comment to be more specific
This commit is contained in:
commit
6639fed05e
@ -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