Fix Rails/CompactBlank cop (#31581)

This commit is contained in:
Matt Jankowski authored and GitHub committed 2024-08-26 07:35:33 +00:00
1 parent bcc4b1078c
commit a6df125303
1 file changed
+1 -1
+1 -1
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