method
path_and_extension
v1.1.6 -
Show latest stable
- Class:
ActionView::Base
path_and_extension(template_path)private
No documentation available.
# File actionpack/lib/action_view/base.rb, line 373
def path_and_extension(template_path)
template_path_without_extension = template_path.sub(/\.(\w+)$/, '')
[ template_path_without_extension, $1 ]
end