Method: ActionView::LogSubscriber#render_template
- Defined in:
- actionview/lib/action_view/log_subscriber.rb
#render_template(event) ⇒ Object
17 18 19 20 21 22 23 |
# File 'actionview/lib/action_view/log_subscriber.rb', line 17 def render_template(event) info do = +" Rendered #{from_rails_root(event.payload[:identifier])}" << " within #{from_rails_root(event.payload[:layout])}" if event.payload[:layout] << " (Duration: #{event.duration.round(1)}ms | GC: #{event.gc_time.round(1)}ms)" end end |