Flowdock
method

path_and_extension

Importance_0
v1.1.1 - Show latest stable - 0 notes - Class: ActionView::Base
path_and_extension(template_path) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_view/base.rb, line 371
      def path_and_extension(template_path)
        template_path_without_extension = template_path.sub(/\.(\w+)$/, '')
        [ template_path_without_extension, $1 ]
      end
Register or log in to add new notes.