aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-10-27 08:28:14 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-10-27 08:28:14 +0900
commit51f1d5a960e250905252b8646ff9563436309b86 (patch)
tree4709ec980ba95323ae24d41397f43b971793e66c /actionpack
parentfa7efca553e325b2aabb087a4eddf4560c356094 (diff)
downloadrails-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.rb8
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