Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit efbd535f367a8cb46965c91e8edb1786b21bdefb 1 parent 8c05ca9
Carl Lerche authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 actionpack/lib/abstract_controller/logger.rb
View
4 actionpack/lib/abstract_controller/logger.rb
@@ -29,7 +29,7 @@ def to_s
# 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 @@ def process_action(action)
logger.info(log)
end
+
+ retval
end
private
Please sign in to comment.
Something went wrong with that request. Please try again.