Skip to content

Commit

Permalink
display logged in user name in backend [#30 state:resolved]
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Fuchs committed Jul 24, 2008
1 parent 8734d4a commit ded823f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -5,6 +5,6 @@
<% unless @site.nil? %>
<li><%= link_to 'Plugins', admin_plugins_path(@site) %></li>
<% end %>
<li><%= link_to 'Account', '#' %></li>
<li>Logged in as: <%= link_to current_user.name, (@site ? admin_site_user_path(@site, current_user) : admin_user_path(current_user)) %></li>
<li><%= link_to 'Logout', logout_path, :method => :delete %></li>
</ul>

0 comments on commit ded823f

Please sign in to comment.