Exception: Decidim::Verifications::MissingVerificationRoute
- Inherits:
-
StandardError
- Object
- StandardError
- Decidim::Verifications::MissingVerificationRoute
- Defined in:
- lib/decidim/verifications/adapter.rb
Instance Method Summary collapse
-
#initialize(handler:, route:, action:) ⇒ MissingVerificationRoute
constructor
A new instance of MissingVerificationRoute.
Constructor Details
#initialize(handler:, route:, action:) ⇒ MissingVerificationRoute
Returns a new instance of MissingVerificationRoute.
18 19 20 21 22 23 24 25 26 |
# File 'lib/decidim/verifications/adapter.rb', line 18 def initialize(handler:, route:, action:) msg = <<~MSG The authorization handler `#{handler}` does not define the route `#{route}`. If you want to enable `#{action}` for `#{handler}`, change your workflow to define an engine with a `#{route}` route. MSG super(msg) end |