instance method
render_template
Ruby on Rails 4.2.9
Since v3.0.20 Last seen in v8.0.4Signature
render_template(event)
No documentation comment.
Parameters
-
eventreq
Source
# File actionview/lib/action_view/log_subscriber.rb, line 15
def render_template(event)
info do
message = " Rendered #{from_rails_root(event.payload[:identifier])}"
message << " within #{from_rails_root(event.payload[:layout])}" if event.payload[:layout]
message << " (#{event.duration.round(1)}ms)"
end
end
Defined in actionview/lib/action_view/log_subscriber.rb line 15
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::LogSubscriber