config/routes.rb in muck-users-3.1.8 vs config/routes.rb in muck-users-3.1.9
- old
+ new
@@ -16,10 +16,11 @@
match '/signup' => 'muck/users#new', :as => :signup, :constraints => { :protocol => muck_routes_protocol }
match '/users/signup_complete/:id' => 'muck/users#welcome', :as => :signup_complete
match '/users/activation_complete/:id' => 'muck/users#welcome', :as => :activation_complete
match '/signup_complete_activate/:id' => 'muck/users#activation_instructions', :as => :signup_complete_activation_required
match 'account' => 'muck/users#show', :as => :account
+ match 'current_user' => 'muck/users#show'
# activations
resources :activations, :controller => 'muck/activations'
match '/activate/:activation_code' => 'muck/activations#new', :as => :activate
@@ -36,15 +37,14 @@
# sessions
resource :user_session, :controller => 'muck/user_sessions'
match '/login' => 'muck/user_sessions#new', :as => :login, :constraints => { :protocol => muck_routes_protocol }
match '/logout' => 'muck/user_sessions#destroy', :as => :logout, :constraints => { :protocol => muck_routes_protocol }
match '/signup_complete_login/:id' => 'muck/user_sessions#new', :as => :signup_complete_login_required
+ match '/login' => 'muck/user_sessions#new', :as => :logout_complete
+ match '/login_check' => 'muck/user_sessions#login_check'
# Access codes
resources :access_code_requests, :controller => 'muck/access_code_requests'
-
- # page a user is taken to when they log out
- match '/login' => 'user_session#new', :as => :logout_complete
# admin
namespace :admin do
resources :users, :controller => 'muck/users' do
collection do