restructure app

This commit is contained in:
Josh
2018-05-29 15:28:29 -04:00
parent 5042e2572c
commit 32ec2bacce
31 changed files with 303 additions and 472 deletions

View File

@ -1,20 +1,15 @@
<p>This is a room.</p>
<p><%= @room.user.name %><p>
<p><%= @room.meeting.uid %><p>
<p><%= @room.uid %><p>
<%= link_to 'Sessions', sessions_path %>
<%= link_to 'Settings', root_path %>
<p>Click below to join the meeting.</p>
<% if @room.meeting.is_running? %>
<% if @room.is_running? %>
<p>meeting is already running</p>
<% else %>
<%= link_to "Start Meeting", start_room_path(@room.uid) %>
<%= link_to "Start Room", start_room_path(@room) %>
<% end %>
<br><br>
<%= link_to 'Logout', logout_path %>
<%= link_to "Sessions", sessions_path(@room) %>