Browse Source

show email on account link

pull/1/head
Nicolae Claudius 13 years ago
parent
commit
92d08eaf00
  1. 2
      app/views/fragments/_user_navigation.html.erb

2
app/views/fragments/_user_navigation.html.erb

@ -1,6 +1,6 @@
<ul class="wat-cf"> <ul class="wat-cf">
<% if user_signed_in? %> <% if user_signed_in? %>
<li><%= link_to('Account', edit_user_registration_path) %></li> <li><%= link_to(current_user.email, edit_user_registration_path) %></li>
<li><%= link_to('Sign out', destroy_user_session_path, :method => :delete) %></li> <li><%= link_to('Sign out', destroy_user_session_path, :method => :delete) %></li>
<% else %> <% else %>
<li><%= link_to('Sign up', new_user_registration_path) %></li> <li><%= link_to('Sign up', new_user_registration_path) %></li>

Loading…
Cancel
Save