[openstreetmap/openstreetmap-website] Remove unnecessary controller references from the redirect hashes. (#1318)

Andy Allan notifications at github.com
Wed Oct 12 13:35:58 UTC 2016


Rails redirect_to uses the current controller by default, so there
is no need to re-iterate this in the code when the redirect targets
the current controller.

The short-form is already used elsewhere, this just tidies up those
which were still using the long-form.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Remove unnecessary controller references from the redirect hashes.

-- File Changes --

    M app/controllers/diary_entry_controller.rb (10)
    M app/controllers/message_controller.rb (10)
    M app/controllers/trace_controller.rb (4)
    M app/controllers/user_controller.rb (20)

-- Patch Links --

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


More information about the rails-dev mailing list