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
 
333715b4
     match '/chat', to: 'chat#index'
5fa8b94d
 end