mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Move navigator casting to static
This commit is contained in:
parent
593640975c
commit
80a8e9033e
@ -58,6 +58,10 @@ class ContentController extends Controller
|
|||||||
'LoginForm'
|
'LoginForm'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
private static $casting = array(
|
||||||
|
'SilverStripeNavigator' => 'HTMLFragment',
|
||||||
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The ContentController will take the URLSegment parameter from the URL and use that to look
|
* The ContentController will take the URLSegment parameter from the URL and use that to look
|
||||||
* up a SiteTree record.
|
* up a SiteTree record.
|
||||||
|
Loading…
Reference in New Issue
Block a user