diff options
author | Claire <claire.github-309c@sitedethib.com> | 2023-12-04 10:09:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-04 09:09:43 +0000 |
commit | a2bcfeb887a0ae1d437bb727333d769a8248b578 (patch) | |
tree | 6ca8e370864af4daf4167b0da095369efe4273f0 /app/views/admin | |
parent | 9603198982fce7e064a4ec60ac36420173a91cd5 (diff) |
Fix `Style/HashEachMethods` cop in HAML files (#28178)
Diffstat (limited to 'app/views/admin')
-rw-r--r-- | app/views/admin/reports/index.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/reports/index.html.haml b/app/views/admin/reports/index.html.haml index e94847d674e..e2a9868aa54 100644 --- a/app/views/admin/reports/index.html.haml +++ b/app/views/admin/reports/index.html.haml @@ -27,7 +27,7 @@ %button.button= t('admin.accounts.search') = link_to t('admin.accounts.reset'), admin_reports_path, class: 'button negative' -- @reports.group_by(&:target_account_id).each do |_target_account_id, reports| +- @reports.group_by(&:target_account_id).each_value do |reports| - target_account = reports.first.target_account .report-card .report-card__profile |