add link to personal room and logout on every landing page

This commit is contained in:
Zachary Chai
2017-02-03 10:15:25 -05:00
parent c62424ffb6
commit fc7d3fd94e
3 changed files with 11 additions and 13 deletions

View File

@ -22,11 +22,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
<% content_for :footer do %>
<div class="panel-footer">
<div class="text-center">
<% if current_user %>
<%= link_to t('return_to_room'), current_user.room_url %>
<% else %>
<%= link_to t('create_your_session'), root_path %>
<% end %>
<%= link_to t('create_your_session'), root_path %>
</div>
</div>
<% end %>