Echo Liao

Results 5 comments of Echo Liao

I found the reason. It should POST http://api.myapi2.dev/users. The URI /users/sign_up(.:format) is to request the sign up form page. ![screen shot 2015-06-07 at 5 12 18 pm](https://cloud.githubusercontent.com/assets/1129686/8023295/77ccaeea-0d38-11e5-8f90-85694bc3a3a9.png) **_But**_ there is...

``` api_users POST /users(.:format) api/v1/users#create {:format=>:json, :subdomain=>"api"} user_registration POST /users(.:format) devise/registrations#create ``` Yes, but the URI `/users` has two match. It seem to match with the first one. I don't...

I can't remove it directly. Because i add devise email confirmation for register. It add three routes: ``` user_confirmation POST /users/confirmation(.:format) devise/confirmations#create new_user_confirmation GET /users/confirmation/new(.:format) devise/confirmations#new GET /users/confirmation(.:format) devise/confirmations#show ```...

I just try it, it worked! Many thanks!

I think the forms GET routes should remove too. Such as: ``` new_user_password GET /users/password/new(.:format) devise/passwords#new edit_user_password GET /users/password/edit(.:format) devise/passwords#edit ``` but retain the POST routes: ``` PATCH /users/password(.:format) devise/passwords#update...