diff --git a/app/controllers/roles_controller.rb b/app/controllers/roles_controller.rb index a74d8bb..79dec9d 100644 --- a/app/controllers/roles_controller.rb +++ b/app/controllers/roles_controller.rb @@ -71,7 +71,7 @@ class RolesController < ApplicationController def update if @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 diff --git a/app/views/roles/index.html.erb b/app/views/roles/index.html.erb index 9eaab23..19a6c42 100644 --- a/app/views/roles/index.html.erb +++ b/app/views/roles/index.html.erb @@ -17,7 +17,7 @@