Module: ViewMarker::Rails::ActionController::Extensions

Extended by:
ActiveSupport::Concern
Defined in:
lib/view_marker/rails/action_controller/extensions.rb

Instance Method Summary collapse

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(options = nil, extra_options = {})
  logger.debug ' Started view rendering '.center(80, '-')
  render_without_hook_for_logging(options, extra_options)
end