Exception: Decidim::Verifications::MissingVerificationRoute

Inherits:
StandardError
  • Object
show all
Defined in:
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 'lib/decidim/verifications/adapter.rb', line 18

def new(handler:, route:, action:)
  msg = "    The authorization handler `\#{handler}` does not define the route\n    `\#{route}`. If you want to enable `\#{action}` for `\#{handler}`, change\n    your workflow to define an engine with a `\#{route}` route.\n  MSG\n\n  super(msg)\nend\n"