Exception: Granite::Projector::ActionNotMountedError
- Defined in:
- lib/granite/projector/helpers.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(projector) ⇒ ActionNotMountedError
constructor
A new instance of ActionNotMountedError.
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 |