]> git.openstreetmap.org Git - rails.git/commit
Remove unnecessary controller references from the redirect hashes.
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 12 Oct 2016 13:32:49 +0000 (14:32 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 12 Oct 2016 13:32:49 +0000 (14:32 +0100)
commit41e05f0929f28f99ef14170830d377dae806c236
treef800aa8ad03fe5c5029a620c05982f877f3a0190
parentc2e12ed77d8223737fe8f8e2e2b21a0822153fa1
Remove unnecessary controller references from the redirect hashes.

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.
app/controllers/diary_entry_controller.rb
app/controllers/message_controller.rb
app/controllers/trace_controller.rb
app/controllers/user_controller.rb