Ver código fonte

Fix wrong number of arguments error in icon in Masquerade (#52)

Fixes the wrong number of arguments error (gem font-awesome now requires the syntax to be <%= icon('fas','nameOfIcon') %>)
flprben 6 anos atrás
pai
commit
59a8d26073
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      app/views/shared/_navbar.html.erb

+ 1 - 1
app/views/shared/_navbar.html.erb

@@ -1,7 +1,7 @@
 <% if user_masquerade? %>
   <div class="alert alert-warning text-center">
     You're logged in as <b><%= current_user.name %> (<%= current_user.email %>)</b>
-    <%= 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 %>
   </div>
 <% end %>