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