aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorCarl Lerche <carllerche@mac.com>2009-08-26 11:11:54 -0700
committerCarl Lerche <carllerche@mac.com>2009-08-26 19:52:17 -0700
commitefbd535f367a8cb46965c91e8edb1786b21bdefb (patch)
treeff79240a56ae3d5220a3c06a2b1d5ff01d470fad /actionpack
parent8c05ca96f846fd37f99c3986bba5cadb4d7de040 (diff)
downloadrails-efbd535f367a8cb46965c91e8edb1786b21bdefb.tar.gz
rails-efbd535f367a8cb46965c91e8edb1786b21bdefb.tar.bz2
rails-efbd535f367a8cb46965c91e8edb1786b21bdefb.zip
Have AbstractController::Logger#process_action return super's value
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/abstract_controller/logger.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/actionpack/lib/abstract_controller/logger.rb b/actionpack/lib/abstract_controller/logger.rb
index fd33bd2ddd..1b879b963b 100644
--- a/actionpack/lib/abstract_controller/logger.rb
+++ b/actionpack/lib/abstract_controller/logger.rb
@@ -29,7 +29,7 @@ module AbstractController
# Override process_action in the AbstractController::Base
# to log details about the method.
def process_action(action)
- super
+ retval = super
if logger
log = DelayedLog.new do
@@ -40,6 +40,8 @@ module AbstractController
logger.info(log)
end
+
+ retval
end
private