MINOR: add routes yml for director rules

This commit is contained in:
carlos barberis 2012-07-26 09:33:39 +12:00
parent 8c12345695
commit 0d90f1bac3
2 changed files with 7 additions and 4 deletions

View File

@ -1,9 +1,5 @@
<?php
Director::addRules(10, array(
'metaweblog' => 'MetaWeblogController'
));
if(class_exists('WidgetArea')) DataExtension::add_to_class('BlogTree','BlogTreeExtension');
?>

7
_config/routes.yml Normal file
View File

@ -0,0 +1,7 @@
---
Name: metaweblogroutes
After: '*'
---
Director:
rules:
'metaweblog': 'MetaWeblogController'