Asserts the existence of a template.
Source Code
# File action_view/base.rb, line 452 def template_exists?(template_path, extension) file_path = full_template_path(template_path, extension) !file_path.blank? && @@method_names.has_key?(file_path) || File.exist?(file_path) end
<code/>and<pre/>for code samples.