silverstripe-framework/_config/routes.yml

31 lines
846 B
YAML
Raw Normal View History

---
Name: rootroutes
---
SilverStripe\Control\Director:
rules:
'': SilverStripe\Control\Controller
---
Name: coreroutes
After:
- '#rootroutes'
---
SilverStripe\Control\Director:
rules:
2017-09-27 15:44:38 +02:00
'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
2017-09-27 15:44:38 +02:00
---
Name: security-limited
2017-09-27 22:15:00 +02:00
After:
- '#rootroutes'
2017-09-27 15:44:38 +02:00
Except:
environment: dev
---
SilverStripe\Control\Director:
rules:
2017-09-27 22:15:00 +02:00
'Security//$Action/$ID/$OtherID': '%$RateLimitedSecurityController'