-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rails 8.0 support #182
Rails 8.0 support #182
Conversation
2 similar comments
2e1d027
to
65d8e07
Compare
1259a2e
to
cccc4d7
Compare
@@ -153,7 +153,7 @@ def notify_to(*resources) | |||
if options[:with_devise].present? && options[:devise_default_routes].present? | |||
create_notification_routes options, resources_options | |||
else | |||
self.resources target, only: :none do | |||
self.resources target, only: [] do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is because of rails/rails#51464 - all tests now pass, but I'm unsure of your intention @simukappu with this code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hi @simukappu any feedback?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sorry for my very late response. I'm not sure with my original intent, but this modification seems fine. I'll merge your PR and update this gem. Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@simukappu no problem, this gem is much appreciated.
Issue #, if available:
Summary
Other Information