Module AbstractController::ViewPaths::ClassMethods
In: lib/abstract_controller/view_paths.rb

Methods

Public Instance methods

Append a path to the list of view paths for this controller.

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::ViewPathSet for more information)

Prepend a path to the list of view paths for this controller.

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::ViewPathSet for more information)

A list of all of the default view paths for this controller.

Set the view paths.

Parameters

  • paths - If a ViewPathSet is provided, use that; otherwise, process the parameter into a ViewPathSet.

[Validate]