method
assert_existence_of_template_file
assert_existence_of_template_file(template_name)
private
Hide source
# File actionpack/lib/action_controller/base.rb, line 997 def assert_existence_of_template_file(template_name) unless template_exists?(template_name) || ignore_missing_templates full_template_path = @template.send(:full_template_path, template_name, 'rhtml') template_type = (template_name =~ /layouts/i) ? 'layout' : 'template' raise(MissingTemplate, "Missing #{template_type} #{full_template_path}") end end


