diff --git a/app/helpers/post_types_helper.rb b/app/helpers/post_types_helper.rb index c7b03ce9550fd4c17f1b3c78d5a9856b1f2c5568..222e2844b89b52de333214d8d58453e5bc8b2791 100644 --- a/app/helpers/post_types_helper.rb +++ b/app/helpers/post_types_helper.rb @@ -5,8 +5,7 @@ module PostTypesHelper 'Article' => 'fas fa-newspaper' }[type] tag.span class: 'badge is-tag is-filled is-muted' do - tag.i(class: icon_class) + " " + - tag.span(type) + tag.i(class: icon_class) + ' ' + tag.span(type) # rubocop:disable Style/StringConcatenation end end end