diff --git a/app/controllers/concerns/accountable_concern.rb b/app/controllers/concerns/accountable_concern.rb index e111c213fcb..7eb0fe1f8b0 100644 --- a/app/controllers/concerns/accountable_concern.rb +++ b/app/controllers/concerns/accountable_concern.rb @@ -4,7 +4,7 @@ module AccountableConcern extend ActiveSupport::Concern def log_action(action, target) - return unless target.previous_changes.any? + return unless target.previous_changes.any? || target.destroyed? Admin::ActionLog.create( account: current_account,