method

path_and_extension

rails latest stable - Class: ActionView::TemplateFinder

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.1.0) is shown here.

path_and_extension(template_path)
public

Splits the path and extension from the given template_path and returns as an array.