diff options
author | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-05-15 17:49:11 -0700 |
---|---|---|
committer | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-05-15 17:49:11 -0700 |
commit | 5a45446cff0daf4ca747257a8779dcd5d9cae1d7 (patch) | |
tree | 23a7ff81593e1d1060f01f340852fd8477c825c4 /actionpack/lib/action_controller/dispatch | |
parent | 7e10504bdeab14ea70a942110a1b1ef6d8467ed3 (diff) | |
download | rails-5a45446cff0daf4ca747257a8779dcd5d9cae1d7.tar.gz rails-5a45446cff0daf4ca747257a8779dcd5d9cae1d7.tar.bz2 rails-5a45446cff0daf4ca747257a8779dcd5d9cae1d7.zip |
Ported Rescuable to new base
Diffstat (limited to 'actionpack/lib/action_controller/dispatch')
-rw-r--r-- | actionpack/lib/action_controller/dispatch/middlewares.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/dispatch/middlewares.rb b/actionpack/lib/action_controller/dispatch/middlewares.rb index f99637b109..0e4ab6fa39 100644 --- a/actionpack/lib/action_controller/dispatch/middlewares.rb +++ b/actionpack/lib/action_controller/dispatch/middlewares.rb @@ -6,6 +6,7 @@ use "ActionDispatch::Failsafe" use "ActionDispatch::ShowExceptions", lambda { ActionController::Base.consider_all_requests_local } use "ActionDispatch::Rescue", lambda { controller = (::ApplicationController rescue ActionController::Base) + # TODO: Replace with controller.action(:_rescue_action) controller.method(:rescue_action) } |