forked from External/greenlight
remove my room from header
This commit is contained in:
parent
445de38860
commit
62dbefcb68
|
@ -21,8 +21,11 @@
|
|||
</span>
|
||||
<span class="signup pull-right">
|
||||
<% if current_user %>
|
||||
<%= current_user.name %> |
|
||||
<%= link_to t('my_room'), current_user.room_url %> |
|
||||
<% if !@user %>
|
||||
<%= link_to current_user.name, current_user.room_url %> |
|
||||
<% else %>
|
||||
<%= current_user.name %> |
|
||||
<% end %>
|
||||
<%= link_to t('logout'), user_logout_url %>
|
||||
<% elsif @user %>
|
||||
<%= t('are_you', name: @user.username) %> |
|
||||
|
|
Loading…
Reference in New Issue