mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Update docs/en/02_Developer_Guides/01_Templates/How_Tos/03_Disable_Anchor_Links.md
Fix code styling Co-Authored-By: DorsetDigital <DorsetDigital@users.noreply.github.com>
This commit is contained in:
parent
321ef827b8
commit
6b07b2c47c
@ -47,7 +47,8 @@ use SilverStripe\View\SSViewer;
|
|||||||
|
|
||||||
class ExamplePageController extends PageController
|
class ExamplePageController extends PageController
|
||||||
{
|
{
|
||||||
protected function init() {
|
protected function init()
|
||||||
|
{
|
||||||
parent::init();
|
parent::init();
|
||||||
SSViewer::setRewriteHashLinksDefault(false);
|
SSViewer::setRewriteHashLinksDefault(false);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user