Returns the view path that contains the given relative template path.
# File action_view/base.rb, line 464 def find_base_path_for(template_file_name) view_paths.find { |p| File.file?(File.join(p, template_file_name)) } end
<code/>
<pre/>
<code/>and<pre/>for code samples.