[openstreetmap-website] Make the multi-get calls throw 400 errors on invalid input (#411)

Paul Norman notifications at github.com
Sat Aug 3 10:23:50 UTC 2013


Also refactor ways and relations to use the same structure as nodes.

This eliminates some 500 errors and brings the rails port, cgimap and the wiki docs closer together.
You can merge this Pull Request by running:

  git pull https://github.com/pnorman/openstreetmap-website multi_get_errors

Or you can view, comment on it, or merge it online at:

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

-- Commit Summary --

  * Make the multi-get calls throw 400 errors on invalid input

-- File Changes --

    M app/controllers/node_controller.rb (4)
    M app/controllers/relation_controller.rb (20)
    M app/controllers/way_controller.rb (24)

-- Patch Links --

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20130803/c6a7f9d2/attachment.html>


More information about the rails-dev mailing list