There's no documentation for this item.
Source Code
# File action_view/template_finder.rb, line 137 def find_template_extension_from_handler(template_path) formatted_template_path = "#{template_path}.#{@template.template_format}" view_paths.each do |path| if (extensions = @@file_extension_cache[path][formatted_template_path]).any? return "#{@template.template_format}.#{extensions.first}" elsif (extensions = @@file_extension_cache[path][template_path]).any? return extensions.first.to_s end end nil end
<code/>and<pre/>for code samples.