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:
Robbie Averill 2019-04-16 22:32:55 +01:00 committed by GitHub
parent 321ef827b8
commit 6b07b2c47c

View File

@ -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);
} }