method

path_and_extension

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