<%= link_to "Polyglot", contacts_path %>
<%= link_to "Contacts", contacts_path %>
<%= link_to "Settings", setting_path %>
<% if current_user.nil? %> <%= link_to "Login", new_user_session_path %> <% else %>
<% if current_user.photo.url.nil? %> <% else %> <%= cl_image_tag current_user.photo, class: "avatar dropdown-toggle img-circle"%> <% end %>
  • <%= link_to "Profile", user_path(current_user) %>
  • <%= link_to "Logout", destroy_user_session_path %>
<% end %>
  • <%= link_to "Contacts", contacts_path %>
  • <%= link_to "Settings", setting_path %>
  • <% if current_user.nil? %>
  • <%= link_to "Login", new_user_session_path %>
  • <% else %>
  • <%= link_to "Profile", user_path(current_user) %>
  • <%= link_to "Logout", destroy_user_session_path %>
  • <% end %>