Method: ActionView::LogSubscriber.attach_to

Defined in:
actionview/lib/action_view/log_subscriber.rb

.attach_toObject



105
106
107
108
109
110
# File 'actionview/lib/action_view/log_subscriber.rb', line 105

def self.attach_to(*)
  ActiveSupport::Notifications.subscribe("render_template.action_view", ActionView::LogSubscriber::Start.new)
  ActiveSupport::Notifications.subscribe("render_layout.action_view", ActionView::LogSubscriber::Start.new)

  super
end