1
0
mirror of https://github.com/funamitech/mastodon synced 2024-11-27 14:29:03 +09:00

Fix Rails/CompactBlank cop (#31581)

This commit is contained in:
Matt Jankowski 2024-08-26 03:35:33 -04:00 committed by GitHub
parent bcc4b1078c
commit a6df125303
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -86,7 +86,7 @@ module ApplicationHelper
def html_title
safe_join(
[content_for(:page_title).to_s.chomp, title]
.select(&:present?),
.compact_blank,
' - '
)
end