asciinema.org/app/views/layouts/_session_info.html.erb
2012-03-03 08:53:14 +01:00

12 lines
307 B
Plaintext

<ul id="session-info">
<% if current_user %>
<li>
<%= avatar_img current_user %>
<%= link_to "Sign out", logout_path %>
</li>
<% else %>
<li><%= link_to "Twitter Sign in", twitter_auth_path %></li>
<li><%= link_to "Github Sign in", github_auth_path %></li>
<% end %>
</ul>