Skip to content
Snippets Groups Projects
Unverified Commit f6dda59e authored by Matt Jankowski's avatar Matt Jankowski Committed by GitHub
Browse files

Fix haml-lint Rubocop `Style/SymbolProc` cop (#26059)

parent 39d98041
No related branches found
No related tags found
No related merge requests found
# This configuration was generated by
# `haml-lint --auto-gen-config`
# on 2023-07-18 11:12:23 -0400 using Haml-Lint version 0.48.0.
# on 2023-07-18 11:29:47 -0400 using Haml-Lint version 0.48.0.
# The point is for the user to remove these configuration records
# one by one as the lints are removed from the code base.
# Note that changes in the inspected code, or installation of new
......@@ -15,7 +15,7 @@ linters:
UnnecessaryStringOutput:
enabled: false
# Offense count: 64
# Offense count: 63
RuboCop:
enabled: false
......
......@@ -47,7 +47,7 @@
%label.batch-table__toolbar__select.batch-checkbox-all
= check_box_tag :batch_checkbox_all, nil, false
.batch-table__toolbar__actions
- if @accounts.any? { |account| account.user_pending? }
- if @accounts.any?(&:user_pending?)
= f.button safe_join([fa_icon('check'), t('admin.accounts.approve')]), name: :approve, class: 'table-action-link', type: :submit, data: { confirm: t('admin.reports.are_you_sure') }
= f.button safe_join([fa_icon('times'), t('admin.accounts.reject')]), name: :reject, class: 'table-action-link', type: :submit, data: { confirm: t('admin.reports.are_you_sure') }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment