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

This commit is contained in:
Matt Jankowski authored and GitHub committed 2024-10-15 13:56:29 +00:00
1 parent e9b27852be
commit 0e58dc90d9
1 file changed
+1 -1
+1 -1
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