Adds a view_path to the end of the view_paths array. This change affects the current request only.
self.append_view_path("views/default") self.append_view_path(["views/default", "views/custom"])
Source Code
# File action_controller/base.rb, line 673 def append_view_path(path) @template.finder.append_view_path(path) # Mutex needed end
<code/>and<pre/>for code samples.