instance method
append_view_path
Ruby on Rails 5.2.8.1
Since v4.1.16Signature
append_view_path(path)
Append 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)
Parameters
-
pathreq
Source
# File actionview/lib/action_view/view_paths.rb, line 55
def append_view_path(path)
lookup_context.view_paths.push(*path)
end
Defined in actionview/lib/action_view/view_paths.rb line 55
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::ViewPaths