-
-
Notifications
You must be signed in to change notification settings - Fork 131
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
Call super from set_user_language #114
Call super from set_user_language #114
Conversation
This allows reusing the existing implementation in Solidus's `controller_helpers/common`, which is in some ways better than the implementation here. This also removes the prepend_before_action, since it is already added as a before_action in Solidus itself.
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.
Thanks. Any idea how to handle Solidus < 1.3? Their EOL will be reached soon anyway, right?
@tvdeyen what's your concern with Solidus < 1.3? |
@kennyadsl it breaks for Soliuds < 1.3 because it does not have |
it looks like it does, maybe it's loaded in a different way? |
Got it, in 1.2 those methods were inside the |
I don’t think it’s worth to support Solidus < 1.3. It will reach end of life soon and for users of old versions of Solidus there are still older version of this gem. |
I think this might be made unnecessary by some of the work in solidusio/solidus#2559. My goal is to move most of |
Closed by #2626 🎉 🎉 🎉 🎉 🎉 |
This allows reusing the existing implementation in Solidus's
controller_helpers/common
, which is in some ways better than the implementation here.This also removes the
prepend_before_action
, since it is already added as abefore_action
in Solidus itself.