mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
MINOR: add routes yml for director rules
This commit is contained in:
parent
8c12345695
commit
0d90f1bac3
@ -1,9 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
Director::addRules(10, array(
|
|
||||||
'metaweblog' => 'MetaWeblogController'
|
|
||||||
));
|
|
||||||
|
|
||||||
if(class_exists('WidgetArea')) DataExtension::add_to_class('BlogTree','BlogTreeExtension');
|
if(class_exists('WidgetArea')) DataExtension::add_to_class('BlogTree','BlogTreeExtension');
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
7
_config/routes.yml
Normal file
7
_config/routes.yml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
Name: metaweblogroutes
|
||||||
|
After: '*'
|
||||||
|
---
|
||||||
|
Director:
|
||||||
|
rules:
|
||||||
|
'metaweblog': 'MetaWeblogController'
|
Loading…
Reference in New Issue
Block a user