From 627a03c5e6f4b58b8f7c052b9f21dfeee36d967f Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Mon, 19 Jan 2009 11:35:39 -0800 Subject: [PATCH] Enabled the edit link on index. --- app/views/rates/_list.html.erb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/views/rates/_list.html.erb b/app/views/rates/_list.html.erb index 6a997fd..3c96520 100644 --- a/app/views/rates/_list.html.erb +++ b/app/views/rates/_list.html.erb @@ -15,9 +15,7 @@ <%= h rate.amount %> <% 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) } %>