[openstreetmap/openstreetmap-website] Refactor routes.rb (#1796)

Andy Allan notifications at github.com
Wed Mar 28 07:54:09 UTC 2018

This PR refactors some of the routes.rb file. I aim to slowly move towards standard "resourceful" routing, but that will take a while and I think is best done gradually. This PR includes a few general refactorings that touch on larger parts of the file.
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * Use concise route definitions for single method routes
  * Remove unnecessary route aliases
  * Move the api routes into the api/0.6 scope

-- File Changes --

    M config/routes.rb (385)

-- Patch Links --


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...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20180328/8124e807/attachment.html>

More information about the rails-dev mailing list