Fix moderation audit log items for warnings having incorrect links (#23242)
This commit is contained in:
		
							parent
							
								
									6feec4fd18
								
							
						
					
					
						commit
						cefc065310
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -20,7 +20,7 @@ module Admin::ActionLogsHelper
 | 
				
			||||||
    when 'Status'
 | 
					    when 'Status'
 | 
				
			||||||
      link_to log.human_identifier, log.permalink
 | 
					      link_to log.human_identifier, log.permalink
 | 
				
			||||||
    when 'AccountWarning'
 | 
					    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'
 | 
					    when 'Announcement'
 | 
				
			||||||
      link_to truncate(log.human_identifier), edit_admin_announcement_path(log.target_id)
 | 
					      link_to truncate(log.human_identifier), edit_admin_announcement_path(log.target_id)
 | 
				
			||||||
    when 'IpBlock', 'Instance', 'CustomEmoji'
 | 
					    when 'IpBlock', 'Instance', 'CustomEmoji'
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue