method

prepend_view_path

rails latest stable - Class: ActionView::ViewPaths
prepend_view_path(path)
public

Prepend a path to the list of view paths for the current LookupContext.

Parameters

  • path - If a String is provided, it gets converted into the default view path. You may also provide a custom view path (see ActionView::PathSet for more information)