aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller.rb
diff options
context:
space:
mode:
authorYehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>2009-06-16 11:20:28 -0700
committerYehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>2009-06-16 11:20:28 -0700
commita6e803bee124073f5d82d3264b3cdbcbf4d957d5 (patch)
tree21cc149952730984cf2f9ab7761887c9187f93b0 /actionpack/lib/action_controller.rb
parent18c3b77b2381e9f7072d595fa9f599b0994852a7 (diff)
downloadrails-a6e803bee124073f5d82d3264b3cdbcbf4d957d5.tar.gz
rails-a6e803bee124073f5d82d3264b3cdbcbf4d957d5.tar.bz2
rails-a6e803bee124073f5d82d3264b3cdbcbf4d957d5.zip
Remove exceptions from AbstractUnit so they work in real life
Diffstat (limited to 'actionpack/lib/action_controller.rb')
-rw-r--r--actionpack/lib/action_controller.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller.rb b/actionpack/lib/action_controller.rb
index 073600f69b..e822a11d14 100644
--- a/actionpack/lib/action_controller.rb
+++ b/actionpack/lib/action_controller.rb
@@ -40,6 +40,18 @@ module ActionController
autoload :Translation, 'action_controller/translation'
autoload :Cookies, 'action_controller/base/cookies'
+ autoload :ActionControllerError, 'action_controller/base/exceptions'
+ autoload :SessionRestoreError, 'action_controller/base/exceptions'
+ autoload :RenderError, 'action_controller/base/exceptions'
+ autoload :RoutingError, 'action_controller/base/exceptions'
+ autoload :MethodNotAllowed, 'action_controller/base/exceptions'
+ autoload :NotImplemented, 'action_controller/base/exceptions'
+ autoload :UnknownController, 'action_controller/base/exceptions'
+ autoload :MissingFile, 'action_controller/base/exceptions'
+ autoload :RenderError, 'action_controller/base/exceptions'
+ autoload :SessionOverflowError, 'action_controller/base/exceptions'
+ autoload :UnknownHttpMethod, 'action_controller/base/exceptions'
+
require 'action_controller/routing'
end