silverstripe-staticpublisher/_config/routes.yml
Will Rossiter ea1461acd7 API: Remove CMS constraint.
This also changes getObjectsToExport() to getExportUrls() to allow extensions to provide plain text url's for Director::test().

Pushes the controller to dev/staticexporter as some framework install doesn't include default class routing.
2014-01-14 20:36:46 +13:00

8 lines
157 B
YAML

---
Name: staticpublisherroutes
---
Director:
rules:
'dev/staticexporter': 'StaticExporter'
'dev/buildcache': '->dev/tasks/RebuildStaticCacheTask'