From ab634b971eb1f6339f829c4134001060012e063f Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Wed, 23 Nov 2016 20:17:01 +0100 Subject: [PATCH] API: configuration --- app/config/rest.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/config/rest.yml b/app/config/rest.yml index 3617857..ad4cecb 100644 --- a/app/config/rest.yml +++ b/app/config/rest.yml @@ -7,11 +7,8 @@ fos_rest: param_fetcher_listener: true body_listener: true format_listener: - rules: - - priorities: [json, xml] - - fallback_format: json view: - view_response_listener: 'force' + view_response_listener: true formats: xml: true json : true