Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

logout link in menu area

  • Loading branch information...
commit bed4a9ee62834fff91a923f21ab7ae2975f961a8 1 parent 21dcf9f
@drnic drnic authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 app/views/layouts/application.html.erb
View
7 app/views/layouts/application.html.erb
@@ -19,7 +19,12 @@
<a href="http://www.engineyard.com">Engine Yard</a>
</div>
<h1><span class="intro">Getting Things Done</span> deployed on <span class="branding">Engine Yard AppCloud</span></h1>
- <p class="sample">Sample Deployment Application</p>
+ <p class="sample">
+ <% if current_user -%>
+ <%= current_user.email %> |
+ <%= link_to "logout", destroy_user_session_path, :method => :delete %>
+ <% end -%>
+ </p>
</div>
<div id="content">
<% if alerted = alert %>
Please sign in to comment.
Something went wrong with that request. Please try again.