GRN2-268: Fixed redirection after executing an action in Manage Users (#967)

* GRN2-268: Fixed redirection after executing an action in Manage Users

* GRN2-268: rubocop fix
This commit is contained in:
etiennevvv
2020-02-28 11:32:32 -05:00
committed by GitHub
parent 50f4d5e4f8
commit edcda54f89
2 changed files with 3 additions and 2 deletions

View File

@ -178,7 +178,7 @@ class AdminsController < ApplicationController
flash[:success] = I18n.t("administrator.flash.merge_success")
end
redirect_to admins_path
redirect_back fallback_location: admins_path
end
# SITE SETTINGS