Removed error line for fa_icon in ApplicationHelper

• Removed:
- error line for fa_icon in ApplicationHelper
This commit is contained in:
mgabdev 2021-01-15 16:50:45 -05:00
parent 33e758a80f
commit eb8ab7c4eb
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ module ApplicationHelper
def fa_icon(icon, attributes = {})
class_names = attributes[:class]&.split(' ') || []
class_names << 'fa'
class_names += icon.split(' ').map { |cl| "fa-#{cl}" }
# class_names += icon.split(' ').map { |cl| "fa-#{cl}" }
content_tag(:i, nil, attributes.merge(class: class_names.join(' ')))
end