forked from External/greenlight
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:
@ -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
|
||||
|
Reference in New Issue
Block a user