aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/helpers/table_builder_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/table_builder_helper.rb b/app/helpers/table_builder_helper.rb
index 34f610975..9384f8791 100644
--- a/app/helpers/table_builder_helper.rb
+++ b/app/helpers/table_builder_helper.rb
@@ -41,7 +41,7 @@ module TableBuilderHelper
hcont << content_tag(:th, checkbox(id_name: '0', value: 'all'))
end
- columns.map do |column|
+ columns.each do |column|
hcont << content_tag(:th, build_column_header(
column,
collection.model,
@@ -73,7 +73,7 @@ module TableBuilderHelper
)
end
- columns.map do |column|
+ columns.each do |column|
value = column.value(item)
if column_is_linkable?(column)