Determines the template’s file extension, such as rhtml, rxml, or rjs.
Source Code
# File action_view/base.rb, line 474 def find_template_extension_for(template_path) find_template_extension_from_handler(template_path, true) || find_template_extension_from_handler(template_path) || find_template_extension_from_first_render() end
<code/>and<pre/>for code samples.