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