config/routes.rb
5fa8b94d
 Xmpp::Application.routes.draw do
81ab4d54
     get 'chat/index'
5322702b
 
f835d40d
     resources :sessions, only: [:new, :create, :destroy]
5fa8b94d
 
f835d40d
     root :to => 'sessions#new'
5fa8b94d
 
f835d40d
     match '/signin',  to: 'sessions#new'
81ab4d54
     match '/logout',  to: 'sessions#destroy'
5322702b
 
333715b4
     match '/chat', to: 'chat#index'
5fa8b94d
 end