polyglot/config/routes.rb

15 lines
496 B
Ruby
Raw Normal View History

Rails.application.routes.draw do
get 'video_sessions/create'
2018-08-28 13:46:15 +00:00
devise_for :users, path: '', path_names: { sign_out: 'logout'}
devise_scope :user do
get '/logout', to: 'devise/sessions#destroy'
end
2018-08-28 14:00:54 +00:00
root to: 'pages#home'
2018-08-28 12:48:32 +00:00
get '/contacts', to: 'users#index'
post '/sessions', to: 'video_sessions#create'
mount ActionCable.server, at: '/cable'
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
2018-08-28 14:00:54 +00:00
get '/home', to: 'pages#home'
end