From 772342467de5af9719ea4b3214246827ffcf2ab6 Mon Sep 17 00:00:00 2001 From: ArtOfCode- <hello@artofcode.co.uk> Date: Mon, 14 Dec 2020 02:09:30 +0000 Subject: [PATCH] Rubocop --- app/helpers/post_types_helper.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/helpers/post_types_helper.rb b/app/helpers/post_types_helper.rb index c7b03ce95..222e2844b 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 -- GitLab