Class: ActionView::StructuredEventSubscriber::Start

Inherits:
Object
  • Object
show all
Includes:
Utils
Defined in:
lib/action_view/structured_event_subscriber.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#finish(name, id, payload) ⇒ Object



84
85
# File 'lib/action_view/structured_event_subscriber.rb', line 84

def finish(name, id, payload)
end

#start(name, id, payload) ⇒ Object



76
77
78
79
80
81
82
# File 'lib/action_view/structured_event_subscriber.rb', line 76

def start(name, id, payload)
  ActiveSupport.event_reporter.debug("action_view.render_start",
    is_layout: name == "render_layout.action_view",
    identifier: from_rails_root(payload[:identifier]),
    layout: from_rails_root(payload[:layout]),
  )
end