Exception: Decidim::Verifications::MissingVerificationRoute

Inherits:
StandardError
  • Object
show all
Defined in:
decidim-verifications/lib/decidim/verifications/adapter.rb

Instance Method Summary collapse

Instance Method Details

#new(handler:, route:, action:) ⇒ Object



18
19
20
21
22
23
24
25
26
# File 'decidim-verifications/lib/decidim/verifications/adapter.rb', line 18

def new(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