Have AbstractController::Logger#process_action return super's value

This commit is contained in:
Carl Lerche
2009-08-26 11:11:54 -07:00
parent 8c05ca96f8
commit efbd535f36

View File

@@ -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