Fix some ignored brakeman warnings (#15829)

This commit is contained in:
Claire
2021-03-07 07:06:56 +01:00
committed by GitHub
parent c3786b29b7
commit 67c5cdea40
5 changed files with 4 additions and 128 deletions

View File

@ -51,6 +51,6 @@
%th= t('admin.accounts.most_recent_activity')
%th
%tbody
= render @accounts
= render partial: 'account', collection: @accounts
= paginate @accounts

View File

@ -23,6 +23,6 @@
= t 'admin.action_logs.empty'
- else
.announcements-list
= render @action_logs
= render partial: 'action_log', collection: @action_logs
= paginate @action_logs

View File

@ -14,6 +14,6 @@
%th= t('admin.email_domain_blocks.domain')
%th
%tbody
= render @email_domain_blocks
= render partial: 'email_domain_block', collection: @email_domain_blocks
= paginate @email_domain_blocks

View File

@ -36,6 +36,6 @@
%div.muted-hint.center-text
= t 'admin.instances.empty'
- else
= render @instances
= render partial: 'instance', collection: @instances
= paginate @instances