Skip to content

Commit

Permalink
splat keyword arguments when registering routes
Browse files Browse the repository at this point in the history
  • Loading branch information
abr-storm committed Aug 17, 2024
1 parent 0a2505e commit 54e4b26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/devise/rails/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 54e4b26

Please sign in to comment.