Skip to content

Commit

Permalink
Merge pull request #5706 from abr-storm/main
Browse files Browse the repository at this point in the history
Rails 8: Update route registration to use keyword arguments
  • Loading branch information
nashby authored Aug 18, 2024
2 parents 0a2505e + 54e4b26 commit 7288464
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 7288464

Please sign in to comment.