method
template_exists?
v1.1.6 -
Show latest stable
- Class:
ActionView::Base
template_exists?(template_path, extension)private
No documentation available.
# File actionpack/lib/action_view/base.rb, line 368
def template_exists?(template_path, extension)
file_path = full_template_path(template_path, extension)
@@method_names.has_key?(file_path) || FileTest.exists?(file_path)
end