method
view_context
v4.1.8 -
Show latest stable
- Class:
ActionView::Rendering
view_context()public
An instance of a view class. The default view class is ActionView::Base
The view class must have the following methods: View.new[lookup_context, assigns, controller]
Create a new ActionView instance for a controller
View#render[options]
Returns String with the rendered template
Override this method in a module to change the default behavior.