mirror of
https://github.com/silverstripe/silverstripe-restfulserver
synced 2024-10-22 14:05:58 +02:00
Add routes
This commit is contained in:
parent
d9fc615441
commit
db4a70673b
10
_config/routes.yml
Normal file
10
_config/routes.yml
Normal file
@ -0,0 +1,10 @@
|
||||
---
|
||||
Name: restfulserverroutes
|
||||
After:
|
||||
- '#rootroutes'
|
||||
- '#modelascontrollerroutes'
|
||||
---
|
||||
Director:
|
||||
rules:
|
||||
'api/v1/live': 'VersionedRestfulServer'
|
||||
'api/v1': 'RestfulServer'
|
Loading…
Reference in New Issue
Block a user