new(paths, path, prefixes, partial, details, *) public

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_view/template/error.rb, line 31
    def initialize(paths, path, prefixes, partial, details, *)
      @path = path
      prefixes = Array.wrap(prefixes)
      template_type = if partial
      elsif path =~ /layouts/

      searched_paths = { |prefix| [prefix, path].join("/") }

      out  = "Missing #{template_type} #{searched_paths.join(", ")} with #{details.inspect}. Searched in:\n"
      out += { |p| "  * #{p.to_s.inspect}\n" }.join
      super out
Register or log in to add new notes.