mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MINOR Added ModelAsController director rule from 'sapphire' module to cms/_config.php
This commit is contained in:
parent
8c04bafb4e
commit
16d818c201
@ -13,6 +13,10 @@ Director::addRules(50, array(
|
|||||||
'dev/buildcache/$Action' => 'RebuildStaticCacheTask',
|
'dev/buildcache/$Action' => 'RebuildStaticCacheTask',
|
||||||
));
|
));
|
||||||
|
|
||||||
|
Director::addRules(1, array(
|
||||||
|
'$URLSegment//$Action/$ID/$OtherID' => 'ModelAsController',
|
||||||
|
));
|
||||||
|
|
||||||
CMSMenu::add_director_rules();
|
CMSMenu::add_director_rules();
|
||||||
|
|
||||||
// Default CMS HTMLEditorConfig
|
// Default CMS HTMLEditorConfig
|
||||||
|
Loading…
Reference in New Issue
Block a user