I am trying to add a user icon to my header. bootstrap is adding more icons than what my code calls for, what is going on? Thanks in advance!
<ul class="nav pull-right">
<% if user_signed_in? %>
<li><%= link_to "Edit Profile", edit_user_registration_path %></li>
<li><%= link_to "Logout", destroy_user_session_path, method: :delete %></li>
<% else %>
<li><%= link_to "", new_user_session_path, class: "icon-user" %></li>
<% end %>
</ul>
http://i.minus.com/i7krj72G9Gmsd.png
i am using the responsive navbar btw.
I don't have the bootstrap icons in my rails project to test this, but see if this works:
<%= link_to raw("<i class='icon-user'></i>"), new_user_session_path %>