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 16, 2024
1 parent a259ff3 commit b60b101
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 b60b101

Please sign in to comment.