forked from External/greenlight
Implemented join to BBB first approach
This commit is contained in:
3
config/config.yml
Normal file
3
config/config.yml
Normal file
@ -0,0 +1,3 @@
|
||||
default:
|
||||
bbb_endpoint: <%= ENV['BIGBLUEBUTTON_ENDPOINT'] %>
|
||||
bbb_secret: <%= ENV['BIGBLUEBUTTON_SECRET'] %>
|
1
config/initializers/load_config.rb
Normal file
1
config/initializers/load_config.rb
Normal file
@ -0,0 +1 @@
|
||||
APP_CONFIG = YAML.load_file("#{Rails.root}/config/config.yml")[Rails.env]
|
@ -1,4 +1,7 @@
|
||||
Rails.application.routes.draw do
|
||||
get 'bbb/join/:id', to: 'bbb#join', as: :bbb_join
|
||||
get 'bbb/close'
|
||||
|
||||
get 'meeting(/:id)', to: 'landing#index'
|
||||
|
||||
root to: 'landing#index'
|
||||
|
Reference in New Issue
Block a user