mirror of
https://github.com/silverstripe/silverstripe-restfulserver
synced 2024-06-13 08:24:53 +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