method

prepend_view_path

Importance_1
v7.1.3.2 - Show latest stable - 0 notes - Class: 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)

Show source
Register or log in to add new notes.