Created
August 20, 2014 15:15
-
-
Save adagio/4adf4ce365edaf710d0c to your computer and use it in GitHub Desktop.
Produce a link that triggers an Ajax action when clicked
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
... | |
<tr id="<%= day.id %>"> | |
... | |
<td><%= link_to 'Total', total_day_path(day), :remote => true %></td> | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment