[openstreetmap/openstreetmap-website] Set default format for all API routes (#2065)

Tom Hughes notifications at github.com
Wed Nov 14 22:15:32 UTC 2018


This may not be such a good idea... It seems if you default the format that way then while an explicit extension will still override it an `Accept` header won't.

I think this probably needs more research...

-- 
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/pull/2065#issuecomment-438839123
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20181114/7c2708f6/attachment.html>


More information about the rails-dev mailing list