mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
d5b37fab3d
BUGFIX Fixed CMSMainTest to use /admin/crm as a standard URL rather than /admin (which could be overloaded by other admins for application-like interfaces without CMS components) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60635 467b73ca-7a2a-4603-9d3b-597d59a354a9
30 lines
969 B
PHP
30 lines
969 B
PHP
<?php
|
|
/**
|
|
* URL rules for the CMS module
|
|
*
|
|
* @package cms
|
|
*/
|
|
Director::addRules(50, array(
|
|
'processes//$Action/$ID/$Batch' => 'BatchProcess_Controller',
|
|
'silverstripe' => '->admin',
|
|
'cms' => '->admin',
|
|
'admin/security//$Action/$ID/$OtherID' => 'SecurityAdmin',
|
|
'admin/help//$Action/$ID' => 'CMSHelp',
|
|
'admin/reports//$Action/$ID' => 'ReportAdmin',
|
|
'admin/assets//$Action/$ID' => 'AssetAdmin',
|
|
'admin/comments//$Action' => 'CommentAdmin',
|
|
'admin/ReportField//$Action/$ID/$Type/$OtherID' => 'ReportField_Controller',
|
|
'admin/bulkload//$Action/$ID/$OtherID' => 'BulkLoaderAdmin',
|
|
'admin//ImageEditor/$Action' => 'ImageEditor',
|
|
'admin/cms//$Action/$ID/$OtherID' => 'CMSMain',
|
|
'admin//$Action/$ID/$OtherID' => 'CMSMain',
|
|
'unsubscribe//$Email/$MailingList' => 'Unsubscribe_Controller',
|
|
'PageComment//$Action/$ID' => 'PageComment_Controller',
|
|
'dev/buildcache' => 'RebuildStaticCacheTask',
|
|
));
|
|
|
|
// Built-in modules
|
|
LeftAndMain::populate_default_menu();
|
|
|
|
?>
|