1
0
mirror of https://github.com/funamitech/mastodon synced 2024-11-23 22:57:05 +09:00

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

This commit is contained in:
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

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