method

view_context

Importance_1
v4.1.8 - Show latest stable - 0 notes - 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.

Show source
Register or log in to add new notes.