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

Let #link_to fail when passed an identifier #816

Closed
denisdefreyne opened this issue Feb 5, 2016 · 1 comment
Closed

Let #link_to fail when passed an identifier #816

denisdefreyne opened this issue Feb 5, 2016 · 1 comment

Comments

@denisdefreyne
Copy link
Member

The following should fail explicitly because of an unexpected type being passed to #link_to:

<%= link_to i[:title], i.identifier %>
@denisdefreyne denisdefreyne added this to the 4.1.4 milestone Feb 5, 2016
This was referenced Feb 5, 2016
@denisdefreyne
Copy link
Member Author

Fixed in #819.

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