From 51f1d5a960e250905252b8646ff9563436309b86 Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Thu, 27 Oct 2016 08:28:14 +0900 Subject: remove unused `RedirectBackError` class Follow up to 333bfd896e87862cece95deb1ef88132d5f54ba8 --- actionpack/lib/action_controller/metal/redirecting.rb | 8 -------- 1 file changed, 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 -- cgit v1.2.3