aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2014-01-31 11:54:42 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2014-01-31 11:54:42 -0800
commit0b101804444e2cc57740b1c79cbd19f340f46cbf (patch)
treeb6a72cc025bb3cceff20aea83c09f9e9291dab1e /actionpack
parent63f8fabe4939ad59d597dfea441002ef5b16d2f4 (diff)
downloadrails-0b101804444e2cc57740b1c79cbd19f340f46cbf.tar.gz
rails-0b101804444e2cc57740b1c79cbd19f340f46cbf.tar.bz2
rails-0b101804444e2cc57740b1c79cbd19f340f46cbf.zip
FilterRedirect is referenced at the class level from the Response
We can just require the file rather than going through the autoload indirection
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_dispatch.rb1
-rw-r--r--actionpack/lib/action_dispatch/http/response.rb1
2 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch.rb b/actionpack/lib/action_dispatch.rb
index 36dcca2905..9b26845190 100644
--- a/actionpack/lib/action_dispatch.rb
+++ b/actionpack/lib/action_dispatch.rb
@@ -75,7 +75,6 @@ module ActionDispatch
autoload :Parameters
autoload :ParameterFilter
autoload :FilterParameters
- autoload :FilterRedirect
autoload :Upload
autoload :UploadedFile, 'action_dispatch/http/upload'
autoload :URL
diff --git a/actionpack/lib/action_dispatch/http/response.rb b/actionpack/lib/action_dispatch/http/response.rb
index 7b2655b2d8..bc13ee00f1 100644
--- a/actionpack/lib/action_dispatch/http/response.rb
+++ b/actionpack/lib/action_dispatch/http/response.rb
@@ -1,4 +1,5 @@
require 'active_support/core_ext/module/attribute_accessors'
+require 'action_dispatch/http/filter_redirect'
require 'monitor'
module ActionDispatch # :nodoc: