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

Tom Hughes notifications at github.com
Wed Nov 14 21:48:17 UTC 2018


This makes the change I proposed in #2084 to add a default format to all API routes.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/2065

-- Commit Summary --

  * Set default format for all API routes

-- File Changes --

    M config/initializers/mime_types.rb (1)
    M config/routes.rb (18)
    M test/controllers/amf_controller_test.rb (4)
    M test/controllers/api_controller_test.rb (12)
    M test/controllers/changeset_comments_controller_test.rb (6)
    M test/controllers/changesets_controller_test.rb (20)
    M test/controllers/nodes_controller_test.rb (10)
    M test/controllers/notes_controller_test.rb (6)
    M test/controllers/old_nodes_controller_test.rb (6)
    M test/controllers/old_relations_controller_test.rb (6)
    M test/controllers/old_ways_controller_test.rb (6)
    M test/controllers/relations_controller_test.rb (18)
    M test/controllers/search_controller_test.rb (8)
    M test/controllers/swf_controller_test.rb (2)
    M test/controllers/traces_controller_test.rb (12)
    M test/controllers/user_preferences_controller_test.rb (10)
    M test/controllers/users_controller_test.rb (8)
    M test/controllers/ways_controller_test.rb (12)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/2065.patch
https://github.com/openstreetmap/openstreetmap-website/pull/2065.diff

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


More information about the rails-dev mailing list