summaryrefslogtreecommitdiffstats
path: root/app/views/roles/index.html.erb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-01-07 22:52:23 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-01-07 22:52:23 +0000
commitb1e105abe2a2bcad90b1e61ae64fd8bb4dbec588 (patch)
treeba802e4d86135e4630e65f820084d6db1c831a86 /app/views/roles/index.html.erb
parent0eda7765fa55eee98646152278b7ef976f49e7c8 (diff)
downloadredmine-b1e105abe2a2bcad90b1e61ae64fd8bb4dbec588.tar.gz
redmine-b1e105abe2a2bcad90b1e61ae64fd8bb4dbec588.zip
Redirect to the current page when reordering roles (#18769).
Patch by Jérôme BATAILLE. git-svn-id: http://svn.redmine.org/redmine/trunk@13852 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/roles/index.html.erb')
-rw-r--r--app/views/roles/index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/roles/index.html.erb b/app/views/roles/index.html.erb
index 9eaab23b6..19a6c42c4 100644
--- a/app/views/roles/index.html.erb
+++ b/app/views/roles/index.html.erb
@@ -17,7 +17,7 @@
<td class="name"><%= content_tag(role.builtin? ? 'em' : 'span', link_to(h(role.name), edit_role_path(role))) %></td>
<td class="reorder">
<% unless role.builtin? %>
- <%= reorder_links('role', {:action => 'update', :id => role}, :put) %>
+ <%= reorder_links('role', {:action => 'update', :id => role, :page => params[:page]}, :put) %>
<% end %>
</td>
<td class="buttons">