Skip to content
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

localize URL key using klass.model_name.i18n_key ? #110

Open
rvalyi opened this issue Apr 24, 2014 · 0 comments
Open

localize URL key using klass.model_name.i18n_key ? #110

rvalyi opened this issue Apr 24, 2014 · 0 comments

Comments

@rvalyi
Copy link
Member

rvalyi commented Apr 24, 2014

localize URL using klass.model_name.i18n_key
see human method in active_model/human.rb

for instance, seems that action_view/helpers/form_helper.rb
is calling it in default_submit_value via
object.class.model_name.huma

could be better than the current adhoc system I implemented in naming.rb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant