summaryrefslogtreecommitdiff
path: root/app/helpers/instance_configuration_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/instance_configuration_helper.rb')
-rw-r--r--app/helpers/instance_configuration_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/instance_configuration_helper.rb b/app/helpers/instance_configuration_helper.rb
index f695be32743..6aeddb82090 100644
--- a/app/helpers/instance_configuration_helper.rb
+++ b/app/helpers/instance_configuration_helper.rb
@@ -2,7 +2,7 @@
module InstanceConfigurationHelper
def instance_configuration_cell_html(value, &block)
- return '-' unless value.to_s.presence
+ return "-" unless value.to_s.presence
block_given? ? yield(value) : value
end