Relocated code for login/logout in meetings

This commit is contained in:
jfederico
2016-10-19 14:52:23 -04:00
parent b6e17b88c7
commit 8d6904e183
4 changed files with 14 additions and 6 deletions

View File

@@ -5,7 +5,7 @@
<div class="row">
<div class="col-sm-2 col-sm-offset-10">
<% if admin? %>
<span class="user"><%= current_user.name %></span>
<span class="user">Hello <%= current_user.name %></span>
<%= link_to "Logout", "/logout" %>
<% else %>
<%= link_to "Login", "/auth/twitter" %>