Returns the view path that the full path resides in.
# File action_view/template_finder.rb, line 120 def extract_base_path_from(full_path) @view_paths.find { |p| full_path[0..p.size - 1] == p } end
<code/>
<pre/>
<code/>and<pre/>for code samples.