Flowdock
method

assert_existence_of_template_file

Importance_0
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: ActionController::Base

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.0.3) is shown here.

assert_existence_of_template_file(template_name) 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_controller/base.rb, line 1265
      def assert_existence_of_template_file(template_name)
        unless template_exists?(template_name) || ignore_missing_templates
          full_template_path = template_name.include?('.') ? template_name : "#{template_name}.#{@template.template_format}.erb"
          display_paths = view_paths.join(':')
          template_type = (template_name =~ /layouts/i) ? 'layout' : 'template'
          raise(MissingTemplate, "Missing #{template_type} #{full_template_path} in view path #{display_paths}")
        end
      end
Register or log in to add new notes.