diff --git a/lib/devise/rails/routes.rb b/lib/devise/rails/routes.rb index f58c9fdc4..474766f9d 100644 --- a/lib/devise/rails/routes.rb +++ b/lib/devise/rails/routes.rb @@ -413,7 +413,7 @@ def devise_registration(mapping, controllers) #:nodoc: controller: controllers[:registrations] } - resource :registration, options do + resource :registration, **options do get :cancel end end