Enabled the edit link on index.

This commit is contained in:
Eric Davis
2009-01-19 11:35:39 -08:00
parent 22ec6f56b7
commit 627a03c5e6

View File

@@ -15,9 +15,7 @@
<td align="right"><%= h rate.amount %></td>
<td align="center">
<% if rate.unlocked? %>
<%= link_to image_tag('edit.png'),
{:action => 'not_implemented', :id => @user, :rate_id => rate },
{:method => :post } %>
<%= link_to image_tag('edit.png'), edit_rate_path(rate) %>
<%= link_to image_tag('delete.png'),
{:action => 'not_implemented', :id => @user, :rate_id => rate },
{:method => :post, :confirm => l(:text_are_you_sure) } %>