Changed RatesController#update to redirect to:

* Rate list for user or
* the back_url if provided

  #1914
This commit is contained in:
Eric Davis committed 2009-01-19 11:54:54 -08:00
1 parent e97a68be0d
commit 3f4ea96777
3 files changed
+17 -4

No files matched your search

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