Ok, Nightjar, I don't understand that. What do you mean with "at the end of the page"?
This is my framework/_config/routes.yml:
---
Name: rootroutes
Before: '*'
---
Director:
rules:
'': 'Controller'
---
Name: coreroutes
Before: '*'
After:
- '#rootroutes'
- '#modelascontrollerroutes'
---
Director:
rules:
'Security//$Action/$ID/$OtherID': 'Security'
'$Controller//$Action/$ID/$OtherID': '*'
'dev': 'DevelopmentAdmin'
'interactive': 'SapphireREPL'
---
Name: adminroutes
Before: '*'
After:
- '#rootroutes'
- '#coreroutes'
- '#modelascontrollerroutes'
---
Director:
rules:
'admin': 'AdminRootController'
Looks good?
Another question: How cann I call a controller function via the URL? I installed a clean version of SilverStripe an it doesn't even work with a public function - added to allowed_actions - inside the Page_Controller.