Exception: Granite::Projector::ActionNotMountedError

Inherits:
Error
  • Object
show all
Defined in:
lib/granite/projector/helpers.rb

Instance Attribute Summary

Attributes inherited from Error

#projector

Instance Method Summary collapse

Constructor Details

#initialize(projector) ⇒ ActionNotMountedError

Returns a new instance of ActionNotMountedError.



6
7
8
9
# File 'lib/granite/projector/helpers.rb', line 6

def initialize(projector)
  super("Seems like #{projector.class} was not mounted. \
Do you have #{projector.action_class.name.underscore}##{projector.projector_name} declared in routes?", projector)
end