mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-09 09:12:19 +00:00
Fix Rails/CompactBlank
cop (#31581)
This commit is contained in:
parent
bcc4b1078c
commit
a6df125303
|
@ -86,7 +86,7 @@ module ApplicationHelper
|
||||||
def html_title
|
def html_title
|
||||||
safe_join(
|
safe_join(
|
||||||
[content_for(:page_title).to_s.chomp, title]
|
[content_for(:page_title).to_s.chomp, title]
|
||||||
.select(&:present?),
|
.compact_blank,
|
||||||
' - '
|
' - '
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue