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

removes some html_options passed into link_to helper #27

Open
i8ramin opened this issue Feb 8, 2013 · 0 comments
Open

removes some html_options passed into link_to helper #27

i8ramin opened this issue Feb 8, 2013 · 0 comments

Comments

@i8ramin
Copy link

i8ramin commented Feb 8, 2013

link_to("some link", some_path(obj), {:class => 'link', 'data-mydata' => my_data}

The classname comes through, but the data attribute is removed. Not sure what other options it removes, but it definitely removes the custom data ones.

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

No branches or pull requests

1 participant