Fix Rails/CompactBlank cop (#24690)
This commit is contained in:
parent
d00e45a7d3
commit
d902a707a3
8 changed files with 7 additions and 18 deletions
|
@ -161,7 +161,7 @@ module ApplicationHelper
|
|||
output << 'system-font' if current_account&.user&.setting_system_font_ui
|
||||
output << (current_account&.user&.setting_reduce_motion ? 'reduce-motion' : 'no-reduce-motion')
|
||||
output << 'rtl' if locale_direction == 'rtl'
|
||||
output.reject(&:blank?).join(' ')
|
||||
output.compact_blank.join(' ')
|
||||
end
|
||||
|
||||
def cdn_host
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue