mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
add log for identity_verifications
This commit is contained in:
@@ -15,6 +15,7 @@ class Admins::IdentityVerificationsController < Admins::BaseController
|
|||||||
|
|
||||||
def update
|
def update
|
||||||
if @identity_verification.update(update_params)
|
if @identity_verification.update(update_params)
|
||||||
|
UserAction.create(action_id: @identity_verification.id, action_type: "UpdateIdentityVerifications", user_id: current_user.id, :ip => request.remote_ip, data_bank: @identity_verification.attributes.to_json)
|
||||||
redirect_to admins_identity_verifications_path
|
redirect_to admins_identity_verifications_path
|
||||||
flash[:success] = "更新成功"
|
flash[:success] = "更新成功"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user