A warning message is shown when the BBB server configured is the one that comes by default

This commit is contained in:
jfederico
2017-08-15 20:33:19 +00:00
parent 20830c0e72
commit 4590725c79
5 changed files with 20 additions and 3 deletions

View File

@ -46,4 +46,14 @@ class ApplicationController < ActionController::Base
USER_NAME_LIMIT
end
helper_method :user_name_limit
def user_name_limit
USER_NAME_LIMIT
end
helper_method :user_name_limit
def bigbluebutton_endpoint_default?
Rails.configuration.bigbluebutton_endpoint_default === Rails.configuration.bigbluebutton_endpoint
end
helper_method :bigbluebutton_endpoint_default?
end