aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/railties/helpers.rb
diff options
context:
space:
mode:
authorDerek Prior <derekprior@gmail.com>2015-12-16 09:41:47 -0500
committerDerek Prior <derekprior@gmail.com>2015-12-16 11:42:25 -0500
commitdc4429ca3b21005d0016fca78967c2ebbe9677c9 (patch)
tree57651dd8a204da68fba0d3e800d413193fb67389 /actionpack/lib/action_controller/railties/helpers.rb
parent13fd5586cef628a71e0e2900820010742a911099 (diff)
downloadrails-dc4429ca3b21005d0016fca78967c2ebbe9677c9.tar.gz
rails-dc4429ca3b21005d0016fca78967c2ebbe9677c9.tar.bz2
rails-dc4429ca3b21005d0016fca78967c2ebbe9677c9.zip
Deprecate `redirect_to :back`
Applications that use `redirect_to :back` can be forced to 500 by clients that do not send the HTTP `Referer` (sic) header. `redirect_back` requires the user to consider this possibility up front and avoids this trivially-caused application error.
Diffstat (limited to 'actionpack/lib/action_controller/railties/helpers.rb')
0 files changed, 0 insertions, 0 deletions