diff options
author | Nick Howard <ndh@baroquebobcat.com> | 2011-10-25 10:39:20 -0600 |
---|---|---|
committer | Nick Howard <ndh@baroquebobcat.com> | 2011-10-25 10:39:20 -0600 |
commit | a7641054d80a285c5da85d80b8678d899c27cd1a (patch) | |
tree | bb25816f9387e1d6749662ab8f307f14823fbe4a /actionpack/lib | |
parent | 80bcfb00f71dbacd6af0a76429faa5d104ae3a36 (diff) | |
download | rails-a7641054d80a285c5da85d80b8678d899c27cd1a.tar.gz rails-a7641054d80a285c5da85d80b8678d899c27cd1a.tar.bz2 rails-a7641054d80a285c5da85d80b8678d899c27cd1a.zip |
add namespacing when referring to ActionController::RedirectBackError
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/metal/redirecting.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/metal/redirecting.rb b/actionpack/lib/action_controller/metal/redirecting.rb index f2dfb3833b..0355c9f458 100644 --- a/actionpack/lib/action_controller/metal/redirecting.rb +++ b/actionpack/lib/action_controller/metal/redirecting.rb @@ -54,8 +54,8 @@ module ActionController # redirect_to post_url(@post), :status => 301, :flash => { :updated_post_id => @post.id } # redirect_to { :action=>'atom' }, :alert => "Something serious happened" # - # When using <tt>redirect_to :back</tt>, if there is no referrer, RedirectBackError will be raised. You may specify some fallback - # behavior for this case by rescuing RedirectBackError. + # When using <tt>redirect_to :back</tt>, if there is no referrer, ActionController::RedirectBackError will be raised. You may specify some fallback + # behavior for this case by rescuing ActionController::RedirectBackError. def redirect_to(options = {}, response_status = {}) #:doc: raise ActionControllerError.new("Cannot redirect to nil!") unless options raise AbstractController::DoubleRenderError if response_body |