Browse Source

add log for identity_verifications

pull/347/head
呱呱呱 2 years ago
parent
commit
f2b732b8e7
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      app/controllers/admins/identity_verifications_controller.rb

+ 1
- 0
app/controllers/admins/identity_verifications_controller.rb View File

@@ -15,6 +15,7 @@ class Admins::IdentityVerificationsController < Admins::BaseController

def update
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
flash[:success] = "更新成功"
else


Loading…
Cancel
Save