-
-
Save robertSahm/2501162 to your computer and use it in GitHub Desktop.
Add CSS id to link_tag
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using the old argument style of controller: "#", action: "#" , must put them in a hash to avoid id confusion | |
<%= link_to 'STORE',{ controller: 'store', action: 'new'}, :id => "storeClick" %> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment