Disallow html for templating formats

Using html template format will then put the html format in the allowed list for the api doc which we don’t want since the api doesn’t response for html format.
This commit is contained in:
Jeremy Benoist 2017-07-09 10:07:14 +02:00
parent b5d7eb148c
commit 2e6239bb9f
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C

View file

@ -110,7 +110,7 @@ fos_rest:
epub: true
mobi: true
templating_formats:
html: true
html: false
force_redirects:
html: true
failed_validation: HTTP_BAD_REQUEST