From 775a3025e4f5e88f922f27bb251c3388a70f0cf8 Mon Sep 17 00:00:00 2001 From: flprben Date: Wed, 27 Jun 2018 12:00:52 -0300 Subject: [PATCH] Fix wrong number of arguments error in icon in Masquerade Fixes the wrong number of arguments error (gem font-awesome now requires the syntax to be <%= icon('fas','nameOfIcon') %>) --- app/views/shared/_navbar.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/shared/_navbar.html.erb b/app/views/shared/_navbar.html.erb index b8b82f2..6febcd6 100644 --- a/app/views/shared/_navbar.html.erb +++ b/app/views/shared/_navbar.html.erb @@ -1,7 +1,7 @@ <% if user_masquerade? %>
You're logged in as <%= current_user.name %> (<%= current_user.email %>) - <%= link_to back_masquerade_path(current_user) do %><%= icon("times") %> Logout <% end %> + <%= link_to back_masquerade_path(current_user) do %><%= icon("fas", "times") %> Logout <% end %>
<% end %>