hide preferences link when not logged in

This commit is contained in:
Josh 2017-07-13 11:00:17 -04:00
parent 3a882f85c6
commit ec16f51926
1 changed files with 4 additions and 2 deletions

View File

@ -25,8 +25,10 @@
</div>
<%= yield :footer %>
<div class="help-link">
<%= link_to t('help'), 'http://bigbluebutton.org/videos/', target: '_blank' %> |
<%= link_to t('preferences'), preferences_path %>
<%= link_to t('help'), 'http://bigbluebutton.org/videos/', target: '_blank' %>
<% if current_user %>
| <%= link_to t('preferences'), preferences_path %>
<% end %>
</div>
</div>
</div>