<% head = "head_top" %> <% if current_user != nil && current_user.header_scroll == true %> <% head = "head_scroll" %> <% end %>
"> <% if current_user %> <%= link_to current_user.name, current_user %>
<%= link_to "Logout", logout_path, method: :delete %>
<%= link_to current_user.avatar(32), current_user %> <% else %> <%= link_to "Log in", login_path(return_path: request.env['PATH_INFO']), action: "new" %> | <%= link_to "Sign up", signup_path %> <% end %>