method

prepare

rails latest stable - Class: ActionView::Base

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

prepare(routes, helpers)
public

This method receives routes and helpers from the controller and return a subclass ready to be used as view context.