fix rubocop offenses
This commit is contained in:
parent
f6d657bb23
commit
4abba730ee
@ -140,3 +140,6 @@ Layout/LineContinuationLeadingSpace:
|
||||
# redmine does not use load_defaults: https://rails.rubystyle.guide/#config-defaults
|
||||
Rails/RedundantPresenceValidationOnBelongsTo:
|
||||
Enabled: false
|
||||
|
||||
Bundler/DuplicatedGroup:
|
||||
Enabled: false
|
||||
|
@ -156,6 +156,6 @@ module AdditionalsJournalsHelper
|
||||
custom_field = detail.custom_field
|
||||
return unless custom_field
|
||||
|
||||
return { show_diff: true, label: detail.custom_field.name } if custom_field.format.class.change_as_diff
|
||||
{ show_diff: true, label: detail.custom_field.name } if custom_field.format.class.change_as_diff
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user