forked from External/greenlight
Added missing question mark (#2234)
* Added missing question mark * Made bigbluebutton name variable
This commit is contained in:
@ -74,7 +74,7 @@ class AdminsController < ApplicationController
|
||||
begin
|
||||
meetings = all_running_meetings[:meetings]
|
||||
rescue
|
||||
flash[:alert] = I18n.t("administrator.rooms.timeout")
|
||||
flash[:alert] = I18n.t("administrator.rooms.timeout", server: I18n.t("bigbluebutton"))
|
||||
meetings = []
|
||||
end
|
||||
|
||||
|
@ -271,7 +271,7 @@ class ApplicationController < ActionController::Base
|
||||
render "errors/greenlight_error", locals: { message: I18n.t("errors.not_found.user_missing.message"),
|
||||
help: I18n.t("errors.not_found.user_missing.help") }
|
||||
elsif e.message.eql? "That user has no configured provider."
|
||||
if Setting.exists(provider: @user_domain)
|
||||
if Setting.exists?(provider: @user_domain)
|
||||
# Keep the branding
|
||||
@settings = Setting.find_by(provider: @user_domain)
|
||||
else
|
||||
|
Reference in New Issue
Block a user