API: configuration

This commit is contained in:
Simon Vieille 2016-11-23 20:11:32 +01:00
commit 9caaa58296
2 changed files with 6 additions and 2 deletions

View file

@ -10,6 +10,7 @@ api_book:
api_category:
resource: AppBundle\Controller\Api\CategoryController
type: rest
defaults: {_format: json}
prefix: api
fos_js_routing: