fix problem with join route

This commit is contained in:
Devin Howard 2015-09-19 20:46:10 +08:00
parent b2e15c6483
commit 1fbd16ac95

View file

@ -34,7 +34,7 @@ Metamaps::Application.routes.draw do
get 'login' => 'devise/sessions#new', :as => :new_user_session
post 'login' => 'devise/sessions#create', :as => :user_session
get 'logout' => 'devise/sessions#destroy', :as => :destroy_user_session
# get 'join' => 'devise/registrations#new', :as => :new_user_registration
get 'join' => 'devise/registrations#new', :as => :new_user_registration_path
end
get 'users/:id/details', to: 'users#details', as: :details