I recognize that the login screen is called by signup_path.
The same controller and action are called in new_user_path.
Why are we splitting the paths despite the similar processing?
Is it because it was created simply by adding resources :users to routes.rb to generate the resource base?
Or is there a reason to use them properly?

We apologize for the inconvenience, but we would appreciate if you could let us know.
Thanks for your cooperation.

  • Answer # 1

    new_user_path will be created automatically in resources. The url at that time is users/new. I thought that I didn't want to see this as a URL, so I thought I added sing_up.
    If you suppress new with resources, new_user_path will disappear, but I wonder if you should not have reached that point.