config/routes.rb
5fa8b94d
 Xmpp::Application.routes.draw do
f835d40d
     get "chat/index"
5322702b
 
f835d40d
     resources :sessions, only: [:new, :create, :destroy]
5fa8b94d
 
f835d40d
     root :to => 'sessions#new'
5fa8b94d
 
f835d40d
     match '/signin',  to: 'sessions#new'
     match '/signout', to: 'sessions#destroy', via: :delete
5322702b
 
ff94bdbf
     match '/ws', to: 'chat#ws'
     match '/chat_template', to: 'chat#index'
5fa8b94d
 end