summaryrefslogtreecommitdiffstats
path: root/app/views/users
diff options
context:
space:
mode:
authorEtienne Massip <etienne.massip@gmail.com>2012-08-24 21:23:10 +0000
committerEtienne Massip <etienne.massip@gmail.com>2012-08-24 21:23:10 +0000
commit70226f183334f66154b88347ea91cb79deca24db (patch)
tree1bd72bef2c8c494f44cfdfa2659b238105256588 /app/views/users
parenta1d8cab6c6528b2714a7db5b180ada62541ab497 (diff)
downloadredmine-70226f183334f66154b88347ea91cb79deca24db.tar.gz
redmine-70226f183334f66154b88347ea91cb79deca24db.zip
Use a back_url parameter instead of referrer to refresh the page after user deletion (#11691).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10234 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/users')
-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 -%>