diff options
author | Arthur Nogueira Neves <github@arthurnn.com> | 2016-10-26 23:11:07 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-26 23:11:07 -0400 |
commit | b27a08735c90116d788cd87441205fba663ce6c3 (patch) | |
tree | 816e067effb2643b2d6848db1759d1cae41c3c8f /actionpack | |
parent | 58ff03d9fccc2aa665004d280f98c810b41fee1c (diff) | |
parent | 51f1d5a960e250905252b8646ff9563436309b86 (diff) | |
download | rails-b27a08735c90116d788cd87441205fba663ce6c3.tar.gz rails-b27a08735c90116d788cd87441205fba663ce6c3.tar.bz2 rails-b27a08735c90116d788cd87441205fba663ce6c3.zip |
Merge pull request #26907 from y-yagi/remove_unused_RedirectBackError
remove unused `RedirectBackError` class
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 |