diff --git a/app/helpers/icon_helper.rb b/app/helpers/icon_helper.rb index aae4a1e..0346b33 100644 --- a/app/helpers/icon_helper.rb +++ b/app/helpers/icon_helper.rb @@ -1,6 +1,6 @@ # Font Awesome Helper module IconHelper - def fa_icon(name, extra_class = nil, style: :regular, size: nil) + def fa_icon(name, extra_class = nil, style: :solid, size: nil) content_class = "fa-#{style.to_s.dasherize} fa-#{name.to_s.dasherize}" content_class << " fa-#{size.to_s.dasherize}" if size content_class << " #{extra_class}" if extra_class diff --git a/app/views/layouts/_navbar.html.erb b/app/views/layouts/_navbar.html.erb index 331e05f..bc910a7 100644 --- a/app/views/layouts/_navbar.html.erb +++ b/app/views/layouts/_navbar.html.erb @@ -1,12 +1,10 @@