Rails.application.routes.draw do

  mount PostBoardx::Engine => "/post_boardx"
  mount Commonx::Engine => "/commonx"
  mount Authentify::Engine => '/authentify'
  
  resource :session
  
  root :to => "authentify::sessions#new"
  match '/signin',  :to => 'authentify::sessions#new'
  match '/signout', :to => 'authentify::sessions#destroy'
  match '/user_menus', :to => 'user_menus#index'
  match '/view_handler', :to => 'authentify::application#view_handler'
end
