---
Name: allinone-extensions
---
SiteConfig:
    extensions:
        ['AllInOnePageSiteConfig']
SiteTree:
    extensions:
        ['AllInOnePageExtension']
---
Name: modelascontrollerroutes
After: cms/routes#modelascontrollerroutes
---
Director:
    rules:
        '': 'AllInOneRootController'
        '$URLSegment//$Action/$ID/$OtherID': 'AllInOneModelAsController'

---
Name: allinone-extensions
---
SiteConfig:
    extensions:
        ['AllInOnePageSiteConfig']
SiteTree:
    extensions:
        ['AllInOnePageExtension']
---
Name: modelascontrollerroutes
After: cms/routes#modelascontrollerroutes
---
Injector:
    ModelAsController:
        class: AllInOneModelAsController
    RootURLController:
        class: AllInOneRootController

Use Injector to set new controllers, instead of overwrites routes
Use Injector to set new controllers, instead of overwrites routes