You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it seems I'm using a different version of fosrestbundle.
in newer bundles the config.yml part should read:
format_listener:
rules:
# setting fallback_format to json means that instead of considering
# the next rule in case of a priority mismatch, json will be used
-
path: './api/.'
host: '.*'
priorities: ['json']
fallback_format: json
prefer_extension: false
routing_loader:
default_format: json
The text was updated successfully, but these errors were encountered:
it seems I'm using a different version of fosrestbundle.
in newer bundles the config.yml part should read:
format_listener:
rules:
# setting fallback_format to json means that instead of considering
# the next rule in case of a priority mismatch, json will be used
-
path: './api/.'
host: '.*'
priorities: ['json']
fallback_format: json
prefer_extension: false
routing_loader:
default_format: json
The text was updated successfully, but these errors were encountered: