aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2012-05-10 19:50:56 -0300
committerSantiago Pastorino <santiago@wyeworks.com>2012-05-11 19:00:18 -0300
commitabd6f4a2b14fb048c95b3211f2c9fe5f1c006bc0 (patch)
tree02553ff02fd434099b75859562b4778865c242db /actionpack/lib/action_dispatch
parenta6381042fa9899544c365dfa369ab15c79f7f158 (diff)
downloadrails-abd6f4a2b14fb048c95b3211f2c9fe5f1c006bc0.tar.gz
rails-abd6f4a2b14fb048c95b3211f2c9fe5f1c006bc0.tar.bz2
rails-abd6f4a2b14fb048c95b3211f2c9fe5f1c006bc0.zip
Move require to where it's needed
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r--actionpack/lib/action_dispatch/middleware/exception_wrapper.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/exception_wrapper.rb b/actionpack/lib/action_dispatch/middleware/exception_wrapper.rb
index 982f6641bf..a8f49bd3bd 100644
--- a/actionpack/lib/action_dispatch/middleware/exception_wrapper.rb
+++ b/actionpack/lib/action_dispatch/middleware/exception_wrapper.rb
@@ -1,5 +1,6 @@
require 'action_controller/metal/exceptions'
require 'active_support/core_ext/exception'
+require 'active_support/core_ext/class/attribute_accessors'
module ActionDispatch
class ExceptionWrapper
@@ -76,4 +77,4 @@ module ActionDispatch
@backtrace_cleaner ||= @env['action_dispatch.backtrace_cleaner']
end
end
-end \ No newline at end of file
+end