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