Browse Source

Fix rubocop warning (Add empty line after guard clause).


git-svn-id: https://svn.redmine.org/redmine/trunk@21655 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/5.1.0
Marius Balteanu 2 years ago
parent
commit
b1352bb1e6
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      app/helpers/application_helper.rb

+ 1
- 0
app/helpers/application_helper.rb View File

@@ -296,6 +296,7 @@ module ApplicationHelper
end
when 'CustomValue', 'CustomFieldValue'
return "" unless object.customized&.visible?

if object.custom_field
f = object.custom_field.format.formatted_custom_value(self, object, html)
if f.nil? || f.is_a?(String)

Loading…
Cancel
Save