There's no documentation for this item.
Source Code
# File action_view/template.rb, line 42 def set_extension_and_file_name(use_full_path) @path_without_extension, @extension = @finder.path_and_extension(@path) if use_full_path if @extension @filename = @finder.pick_template(@path_without_extension, @extension) else @extension = @finder.pick_template_extension(@path).to_s unless @extension raise ActionViewError, "No template found for #{@path} in #{@finder.view_paths.inspect}" end @filename = @finder.pick_template(@path, @extension) @extension = @extension.gsub(/^.+\./, '') # strip off any formats end else @filename = @path end if @filename.blank? raise ActionViewError, "Couldn't find template file for #{@path} in #{@finder.view_paths.inspect}" end end
<code/>and<pre/>for code samples.