silverstripe-framework/_config/routes.yml
2017-09-28 09:15:00 +13:00

31 lines
846 B
YAML

---
Name: rootroutes
---
SilverStripe\Control\Director:
rules:
'': SilverStripe\Control\Controller
---
Name: coreroutes
After:
- '#rootroutes'
---
SilverStripe\Control\Director:
rules:
'Security//$Action/$ID/$OtherID': SilverStripe\Security\Security
'CMSSecurity//$Action/$ID/$OtherID': SilverStripe\Security\CMSSecurity
'dev': SilverStripe\Dev\DevelopmentAdmin
'interactive': SilverStripe\Dev\SapphireREPL
'InstallerTest//$Action/$ID/$OtherID': SilverStripe\Dev\InstallerTest
'SapphireInfo//$Action/$ID/$OtherID': SilverStripe\Dev\SapphireInfo
'SapphireREPL//$Action/$ID/$OtherID': SilverStripe\Dev\SapphireREPL
---
Name: security-limited
After:
- '#rootroutes'
Except:
environment: dev
---
SilverStripe\Control\Director:
rules:
'Security//$Action/$ID/$OtherID': '%$RateLimitedSecurityController'