refactor bbb helper and implement wait for mod

This commit is contained in:
Zachary Chai
2016-10-26 13:41:55 -04:00
parent dadaa52387
commit 3aeef0a4cf
9 changed files with 98 additions and 37 deletions

View File

@ -8,7 +8,7 @@ Rails.application.routes.draw do
# meetings offer a landing page for NON authenticated users to create and join session in BigBlueButton
# rooms offer a customized landing page for authenticated users to create and join session in BigBlueButton
get '/:resource(/:id)', to: 'landing#index', as: :resource
get '/:resource/:id/join', to: 'bbb#join', as: :bbb_join
get '/:resource/:id/join', to: 'bbb#join', as: :bbb_join, defaults: { :format => 'json' }
root to: 'landing#index', :resource => "meetings"
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html