Rails.application.routes.draw do resources :users, only: [:edit, :update] get 'bbb/join/:resource/:id', to: 'bbb#join', as: :bbb_join get '/meetings/new', to: 'landing#new_meeting', as: :new_meeting get '/:resource(/:id)', to: 'landing#index', as: :resource get '/auth/:provider/callback', to: 'sessions#create' get '/logout', to: 'sessions#destroy' root to: 'landing#meeting', :resource => "meetings" # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html end