instance method
append_view_path
Ruby on Rails 3.2.22.5
Since v3.0.20 Last seen in v4.0.13Signature
append_view_path(path)
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::PathSet for more information)
Parameters
-
pathreq
Source
# File actionpack/lib/abstract_controller/view_paths.rb, line 67
def append_view_path(path)
self._view_paths = view_paths + Array(path)
end
Defined in actionpack/lib/abstract_controller/view_paths.rb line 67
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in AbstractController::ViewPaths::ClassMethods