fix problem with join route

This commit is contained in:
Devin Howard 2015-09-19 20:46:10 +08:00 committed by Connor Turland
parent 95e1806500
commit 50d9866939

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