Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (21 sloc) 482 Bytes
app_post:
resource: app.post
type: sylius.api
prefix: /api
app_comment:
resource: app.comment
type: sylius.api
prefix: /api
app_tag:
resource: app.tag
type: sylius.api
prefix: /api
# additional routes
app_api_post_comments:
path: /api/posts/{id}/comments/
defaults:
_controller: app.controller.comment:indexAction
_sylius:
filterable: true
criteria:
post: $id