After saving a new rate from Projects, the rate link was pointed to the wrong url
#2031
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
element = 'rate_' + @rate.project_id.to_s + '_' + @rate.user_id.to_s
|
||||
page.replace_html element, "<strong>#{link_to number_to_currency(@rate.amount), { :action => 'edit', :id => @rate.user, :tab => 'rates'} }</strong>"
|
||||
page.replace_html element, "<strong>#{link_to number_to_currency(@rate.amount), { :controller => 'users', :action => 'edit', :id => @rate.user, :tab => 'rates'} }</strong>"
|
||||
|
||||
Reference in New Issue
Block a user