Module: ViewMarker::Rails::ActionController::Extensions
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/view_marker/rails/action_controller/extensions.rb
Instance Method Summary collapse
-
#render_with_hook_for_logging(options = nil, extra_options = {}) ⇒ Object
Add a line to the log to mark the beginning of the view.
Instance Method Details
#render_with_hook_for_logging(options = nil, extra_options = {}) ⇒ Object
Add a line to the log to mark the beginning of the view
15 16 17 18 |
# File 'lib/view_marker/rails/action_controller/extensions.rb', line 15 def render_with_hook_for_logging( = nil, = {}) logger.debug ' Started view rendering '.center(80, '-') render_without_hook_for_logging(, ) end |