silverstripe-framework/_config/routes.yml

27 lines
579 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
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'