app/controllers/bigbluebutton/api/rooms_controller.rb in bigbluebutton_rails-2.3.0 vs app/controllers/bigbluebutton/api/rooms_controller.rb in bigbluebutton_rails-3.0.0

- old
+ new

@@ -47,11 +47,11 @@ def running check_is_running end def join - error_room_not_running unless check_is_running + return error_room_not_running unless check_is_running # map "meta[_-]" to "userdata-" options = params.select{ |k,v| k.match(/^meta[-_]/) } unless options.blank? options = options.map{ |k,v| { k.gsub(/^meta[-_]/, 'userdata-') => v } }.reduce(:merge) @@ -61,10 +61,10 @@ end protected def find_room - @room ||= BigbluebuttonRoom.find_by(param: params[:id]) + @room ||= BigbluebuttonRoom.find_by(slug: params[:id]) error_room_not_found if @room.nil? end def join_user_params if BigbluebuttonRails.configuration.guest_support