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
ddfreyne opened this issue Feb 5, 2016 · 1 comment
Closed

Let #link_to fail when passed an identifier #816

ddfreyne opened this issue Feb 5, 2016 · 1 comment

Comments

@ddfreyne
Copy link
Member

@ddfreyne ddfreyne commented Feb 5, 2016

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

<%= link_to i[:title], i.identifier %>
@ddfreyne
Copy link
Member Author

@ddfreyne ddfreyne commented Feb 12, 2016

Fixed in #819.

@ddfreyne ddfreyne closed this Feb 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant