add lb option

This commit is contained in:
Josh
2018-05-11 15:57:31 -04:00
parent b452932767
commit 0f8a4734b2
13 changed files with 183 additions and 41 deletions

View File

@ -1,5 +1,6 @@
Rails.application.routes.draw do
# Room and Meeting routes.
scope '/rooms' do
scope '/:room_uid' do
get '/', to: 'rooms#index', as: :room
@ -9,18 +10,22 @@ Rails.application.routes.draw do
end
end
# Signup routes.
get '/signup', to: 'users#new'
post '/signup', to: 'users#create'
# Login to Greenlight.
get '/login', to: 'sessions#new'
# Handles login of :greenlight provider account.
post '/login', to: 'sessions#create', as: :create_session
# Login to Greenlight.
get '/login', to: 'sessions#new'
# Log the user out of the session.
get '/logout', to: 'sessions#destroy'
# Handles launches from a trusted launcher.
post '/launch', to: 'sessions#launch'
# Handles Omniauth authentication.
match '/auth/:provider/callback', to: 'sessions#omniauth', via: [:get, :post], as: :omniauth_session
get '/auth/failure', to: 'sessions#fail'