Skip to content

Commit

Permalink
Merge pull request #129 from loic425/master
Browse files Browse the repository at this point in the history
Fix api routes
  • Loading branch information
loic425 authored Mar 6, 2020
2 parents 6e8dbc6 + a53a559 commit 5509476
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions config/routes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,3 @@ app_frontend:

app_api:
resource: "../src/Monofony/Bundle/ApiBundle/Recipe/config/routes/api.yaml"
prefix: /api
defaults:
_format: json
2 changes: 2 additions & 0 deletions src/Monofony/Bundle/ApiBundle/Recipe/config/routes/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

fos_oauth_server_token:
resource: "@FOSOAuthServerBundle/Resources/config/routing/token.xml"
prefix: /api

fos_oauth_server_authorize:
resource: "@FOSOAuthServerBundle/Resources/config/routing/authorize.xml"
prefix: /api

0 comments on commit 5509476

Please sign in to comment.