Use array compact style for classes in `nothing_here` helper (#32403)

pull/32448/head
Matt Jankowski 2024-10-15 09:56:29 -04:00 committed by GitHub
parent e9b27852be
commit 0e58dc90d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ module StatusesHelper
}.freeze
def nothing_here(extra_classes = '')
content_tag(:div, class: "nothing-here #{extra_classes}") do
tag.div(class: ['nothing-here', extra_classes]) do
t('accounts.nothing_here')
end
end