Returns the view path that the full path resides in.
# File action_view/base.rb, line 469 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.