Added javascript needed to rename from all recordings (#390)

This commit is contained in:
farhatahmad
2019-03-05 17:04:14 -05:00
committed by Jesus Federico
parent ef8fc2c0e4
commit ab6655554c
5 changed files with 25 additions and 17 deletions

View File

@ -73,7 +73,12 @@ class RoomsController < ApplicationController
elsif params[:setting] == "rename_recording"
@room.update_recording(params[:record_id], "meta_name" => params[:record_name])
end
redirect_to room_path
if request.referrer
redirect_to request.referrer
else
redirect_to room_path
end
end
# POST /:room_uid