summaryrefslogtreecommitdiffstats
path: root/app/views/users/index.html.erb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-08-26 10:50:59 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-08-26 10:50:59 +0000
commitc68ee7f5458dd45f04913354e4e16ee20ce82c2d (patch)
tree861c0ec4a1658bcff615eb2953ce7aac60d5cb7e /app/views/users/index.html.erb
parentebc979e9b1b70bab7bce5079ab7d19b333274514 (diff)
downloadredmine-c68ee7f5458dd45f04913354e4e16ee20ce82c2d.tar.gz
redmine-c68ee7f5458dd45f04913354e4e16ee20ce82c2d.zip
Fixed that destroying a user from the edit page returns a 404 response (#11691).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10240 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/users/index.html.erb')
-rw-r--r--app/views/users/index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb
index a477a5c90..f88b5231e 100644
--- a/app/views/users/index.html.erb
+++ b/app/views/users/index.html.erb
@@ -46,7 +46,7 @@
<td class="last_login_on" align="center"><%= format_time(user.last_login_on) unless user.last_login_on.nil? %></td>
<td class="buttons">
<%= change_status_link(user) %>
- <%= delete_link user_path(user) unless User.current == user %>
+ <%= delete_link user_path(user, :back_url => users_path(params)) unless User.current == user %>
</td>
</tr>
<% end -%>