diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-10-27 08:28:14 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-10-27 08:28:14 +0900 |
commit | 51f1d5a960e250905252b8646ff9563436309b86 (patch) | |
tree | 4709ec980ba95323ae24d41397f43b971793e66c /actionpack | |
parent | fa7efca553e325b2aabb087a4eddf4560c356094 (diff) | |
download | rails-51f1d5a960e250905252b8646ff9563436309b86.tar.gz rails-51f1d5a960e250905252b8646ff9563436309b86.tar.bz2 rails-51f1d5a960e250905252b8646ff9563436309b86.zip |
remove unused `RedirectBackError` class
Follow up to 333bfd896e87862cece95deb1ef88132d5f54ba8
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/metal/redirecting.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/actionpack/lib/action_controller/metal/redirecting.rb b/actionpack/lib/action_controller/metal/redirecting.rb index 2b060e3698..30798c1d99 100644 --- a/actionpack/lib/action_controller/metal/redirecting.rb +++ b/actionpack/lib/action_controller/metal/redirecting.rb @@ -1,12 +1,4 @@ module ActionController - class RedirectBackError < AbstractController::Error #:nodoc: - DEFAULT_MESSAGE = 'No HTTP_REFERER was set in the request to this action, so redirect_to :back could not be called successfully. If this is a test, make sure to specify request.env["HTTP_REFERER"].' - - def initialize(message = nil) - super(message || DEFAULT_MESSAGE) - end - end - module Redirecting extend ActiveSupport::Concern |