Fixed issue with visibility redirected and changed the 'no recordings' string for the recordings page (#361)

This commit is contained in:
farhatahmad
2019-02-06 12:02:53 -05:00
committed by Jesus Federico
parent 16def655cf
commit 9883616f9c
6 changed files with 12 additions and 5 deletions

View File

@ -168,7 +168,9 @@ class RoomsController < ApplicationController
}
res = @room.update_recording(params[:record_id], meta)
redirect_to @room if res[:updated]
# Redirects to the page that made the initial request
redirect_to request.referrer if res[:updated]
end
# DELETE /:room_uid/:record_id