Index: app/views/roles/index.html.erb =================================================================== --- app/views/roles/index.html.erb (révision 5191) +++ app/views/roles/index.html.erb (copie de travail) @@ -17,7 +17,7 @@ <%= content_tag(role.builtin? ? 'em' : 'span', link_to(h(role.name), edit_role_path(role))) %> <% unless role.builtin? %> - <%= reorder_links('role', {:action => 'update', :id => role}, :put) %> + <%= reorder_links('role', {:action => 'update', :id => role, :page => params[:page]}, :put) %> <% end %> Index: app/controllers/roles_controller.rb =================================================================== --- app/controllers/roles_controller.rb (révision 5191) +++ app/controllers/roles_controller.rb (copie de travail) @@ -71,7 +71,7 @@ def update if request.put? and @role.update_attributes(params[:role]) flash[:notice] = l(:notice_successful_update) - redirect_to roles_path + redirect_to roles_path(:page => params[:page]) else render :action => 'edit' end