Exception: ActionView::TemplateFinder::InvalidViewPath

Inherits:
StandardError
  • Object
show all
Defined in:
lib/action_view/template_finder.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ InvalidViewPath

Returns a new instance of InvalidViewPath.



6
7
8
9
# File 'lib/action_view/template_finder.rb', line 6

def initialize(path)
  @unprocessed_path = path
  super("Unprocessed view path found: #{@unprocessed_path.inspect}.  Set your view paths with #append_view_path, #prepend_view_path, or #view_paths=.")
end

Instance Attribute Details

#unprocessed_pathObject (readonly)

Returns the value of attribute unprocessed_path.



5
6
7
# File 'lib/action_view/template_finder.rb', line 5

def unprocessed_path
  @unprocessed_path
end