diff --git a/app/controllers/rooms_controller.rb b/app/controllers/rooms_controller.rb index e08c5185..3299605d 100644 --- a/app/controllers/rooms_controller.rb +++ b/app/controllers/rooms_controller.rb @@ -25,6 +25,7 @@ class RoomsController < ApplicationController # GET /r/:room_uid def show if current_user && @room.owned_by?(current_user) + @is_running = @room.is_running? @recordings = @room.recordings else render :join diff --git a/app/views/rooms/show.html.erb b/app/views/rooms/show.html.erb index 4d8aa5a4..ba6de82b 100644 --- a/app/views/rooms/show.html.erb +++ b/app/views/rooms/show.html.erb @@ -27,7 +27,11 @@