[openstreetmap/openstreetmap-website] Avoid stating the action to render when it just matches the current action (#2279)

Andy Allan notifications at github.com
Wed Jun 26 12:53:51 UTC 2019


Similar to #2278 , this simplifies render calls from within controllers when the action isn't being overridden.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Avoid stating the action to render when it just matches the current action

-- File Changes --

    M app/controllers/api/users_controller.rb (4)
    M app/controllers/site_controller.rb (2)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/2279.patch
https://github.com/openstreetmap/openstreetmap-website/pull/2279.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/2279
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190626/6bfedba6/attachment.html>


More information about the rails-dev mailing list