From d52e811a89d3e2c98f22a8522c8fd523db24b897 Mon Sep 17 00:00:00 2001 From: Tobias Dillmann Date: Wed, 11 Dec 2024 14:55:04 +0100 Subject: [PATCH] [#58160] fix rubocop issue --- app/helpers/sort_helper.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/helpers/sort_helper.rb b/app/helpers/sort_helper.rb index 844c9a5b5679..3158677cbadb 100644 --- a/app/helpers/sort_helper.rb +++ b/app/helpers/sort_helper.rb @@ -392,7 +392,6 @@ def find_filter_for_column(column, filter_mapping) # Some of the method arguments are only needed for specific actions. def action_menu(column, table_columns, caption, default_order, filter_column_mapping = {}, allowed_params: nil, **html_options) - attribute = column.attribute caption ||= attribute.to_s.humanize