[openstreetmap/openstreetmap-website] Problem with deny_access and request formats during tests (#2064)

Tom Hughes notifications at github.com
Wed Nov 14 19:19:37 UTC 2018


Specifically it looks like adding `:defaults => { :format => "xml" }` to the api scope in the routes will set the default. Should probably add it to the special `/api/capabilities` route as well.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2064#issuecomment-438783691
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20181114/b33f4083/attachment.html>


More information about the rails-dev mailing list