Browse Source

Fix moderation audit log items for warnings having incorrect links (#23242)

closed-social-glitch-2
Claire 1 year ago
committed by GitHub
parent
commit
4725191d3c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/helpers/admin/action_logs_helper.rb

+ 1
- 1
app/helpers/admin/action_logs_helper.rb View File

@ -20,7 +20,7 @@ module Admin::ActionLogsHelper
when 'Status'
link_to log.human_identifier, log.permalink
when 'AccountWarning'
link_to log.human_identifier, admin_account_path(log.target_id)
link_to log.human_identifier, disputes_strike_path(log.target_id)
when 'Announcement'
link_to truncate(log.human_identifier), edit_admin_announcement_path(log.target_id)
when 'IpBlock', 'Instance', 'CustomEmoji'

Loading…
Cancel
Save