instance method
to_html
Ruby on Rails 3.0.20
Since v3.0.20 Last seen in v4.1.16Signature
to_html()
HTML format does not render the resource, it always attempt to render a template.
Source
# File actionpack/lib/action_controller/metal/responder.rb, line 125
def to_html
default_render
rescue ActionView::MissingTemplate => e
navigation_behavior(e)
end
Defined in actionpack/lib/action_controller/metal/responder.rb line 125
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Responder