[openstreetmap/openstreetmap-website] JSON output nodes, ways, relations, map (#2485)
notifications at github.com
Mon Dec 30 16:27:48 UTC 2019
mmd-osm commented on this pull request.
> @@ -5,6 +5,13 @@ class MapController < ApiController
around_action :api_call_handle_error, :api_call_timeout
+ before_action :default_format_xml
+ # Set format to xml unless client requires a specific format
+ def default_format_xml
Yup, moved that one to the api_controller for now.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev