lib/challah/routes.rb in challah-0.9.1.beta.3 vs lib/challah/routes.rb in challah-1.0.0.beta

- old
+ new

@@ -2,10 +2,10 @@ unless Challah.options[:skip_routes] post '/sign-in', to: 'sessions#create', as: 'authenticate' get '/sign-in', to: 'sessions#new', as: 'signin' get '/sign-out', to: 'sessions#destroy', as: 'signout' - post '/login', to: 'sessions#create' + post '/login', to: 'sessions#create', as: 'submit_login' get '/login', to: 'sessions#new', as: 'login' get '/logout', to: 'sessions#destroy', as: 'logout' end # These are used for testing purposes only. \ No newline at end of file