Splits the path and extension from the given template_path and returns as an array.
Source Code
# File action_view/template_finder.rb, line 151 def path_and_extension(template_path) template_path_without_extension = template_path.sub(/\.(\w+)$/, '') [ template_path_without_extension, $1 ] end
<code/>and<pre/>for code samples.