method
new
v2.3.8 -
Show latest stable
- Class:
ActionView::MissingTemplate
new(paths, path, template_format = nil)public
No documentation available.
# File actionpack/lib/action_view/base.rb, line 8
def initialize(paths, path, template_format = nil)
@path = path
full_template_path = path.include?('.') ? path : "#{path}.erb"
display_paths = paths.compact.join(":")
template_type = (path =~ /layouts/i) ? 'layout' : 'template'
super("Missing #{template_type} #{full_template_path} in view path #{display_paths}")
end