Fix haml-lint Rubocop Lint/UnusedBlockArguments cop (#26039)

This commit is contained in:
Matt Jankowski 2023-07-20 11:03:39 -04:00 committed by GitHub
parent 285a3df56c
commit a5842df123
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -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 do |_target_account_id, reports|
- target_account = reports.first.target_account
.report-card
.report-card__profile