-
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
Localizable #158
base: master
Are you sure you want to change the base?
Localizable #158
Conversation
Could we hook into the |
Does the reloader works for this change in dev? |
@parndt it will be great if it's possible. If it's working we could only change refinerycms-i18n |
@simi What do you mean by reloader works ? |
https://github.com/rails/rails/blob/master/actionpack/lib/action_dispatch/middleware/reloader.rb Start dummy app, change route and try to reload page in dev. |
@simi it works. |
@bricesanchez do you still like this solution? |
@parndt i will check this soon but i always need this feature. |
Hello all !
In addition to my PR refinery/refinerycms-i18n#51
I suggest this solution to add localized routes on refinerycms engine.
It will be great if the ActionDispatch::Routing::Mapper::localizable method will be directly added in refinerycms core to avoid duplicate code.
No need to fork route_translator with this solution :)
@parndt @simi