Created
June 10, 2014 22:53
-
-
Save LaurMo/191545c1ef775573f88e to your computer and use it in GitHub Desktop.
not method for 'id'
This file contains hidden or 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
<% @checkouts.each do |checkout| %> | |
<tr> | |
<td><%= checkout.email %></td> | |
<td><%= checkout.tool_id %></td> | |
<td><%= link_to 'Return Item', destroy_checkout_path(id),confirm: 'Are you sure?', method: :delete %></td> | |
</tr> | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment