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