summaryrefslogtreecommitdiffstats
path: root/app/helpers/custom_fields_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/custom_fields_helper.rb')
-rw-r--r--app/helpers/custom_fields_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/custom_fields_helper.rb b/app/helpers/custom_fields_helper.rb
index f59a8f4cd..82b78cdcb 100644
--- a/app/helpers/custom_fields_helper.rb
+++ b/app/helpers/custom_fields_helper.rb
@@ -178,7 +178,7 @@ module CustomFieldsHelper
# Yields the given block for each custom field value of object that should be
# displayed, with the custom field and the formatted value as arguments
- def render_custom_field_values(object, &block)
+ def render_custom_field_values(object, &)
object.visible_custom_field_values.each do |custom_value|
formatted = show_value(custom_value)
if formatted.present?