<% content_for(:secondary_links) do %>
  • <%= link_to "Listing", users_path %>
  • <%= link_to "Register", new_user_path %>
  • <% if @user && !@user.new_record? %>
  • |
  • <%= link_to "Edit", edit_user_path(@user) %>
  • <%= link_to "Profile", user_path(@user) %>
  • <% end %> <% unless CurrentUser.user.is_anonymous? %>
  • |
  • <%= link_to "Logout", session_path, :method => :delete %>
  • <% end %>
    <% end %>