From 4acf180b9536bcefb39a5837730d864a60cc4439 Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Mon, 26 Jan 2009 15:07:27 -0800 Subject: [PATCH] After saving a new rate from Projects, the rate link was pointed to the wrong url #2031 --- app/views/rates/create.js.rjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/rates/create.js.rjs b/app/views/rates/create.js.rjs index b228fa4..d7b6d6b 100644 --- a/app/views/rates/create.js.rjs +++ b/app/views/rates/create.js.rjs @@ -1,2 +1,2 @@ element = 'rate_' + @rate.project_id.to_s + '_' + @rate.user_id.to_s -page.replace_html element, "#{link_to number_to_currency(@rate.amount), { :action => 'edit', :id => @rate.user, :tab => 'rates'} }" +page.replace_html element, "#{link_to number_to_currency(@rate.amount), { :controller => 'users', :action => 'edit', :id => @rate.user, :tab => 'rates'} }"