forked from External/greenlight
add lb option
This commit is contained in:
@ -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'
|
||||
|
Reference in New Issue
Block a user