method
prepend_view_path
v2.0.3 -
Show latest stable
- Class:
ActionController::Base
prepend_view_path(path)public
Adds a view_path to the front of the view_paths array. This change affects the current request only.
self.prepend_view_path("views/default") self.prepend_view_path(["views/default", "views/custom"])