Home>
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
Related articles
- ruby on rails 5 - i don't understand the difference between model and controller methods
- ruby on rails - i don't understand template is missing
- javascript - [vscode] i don't understand the difference between npm and extensions
- i don't really understand the difference between php's "print" and "echo"
- ruby - [rails] i want to find the date difference using the model created_at
- ruby on rails - i don't understand the content of the error
- ruby - i want to distinguish between rails 0 and nil
- ruby on rails - mechanism of cooperation between web services and smartphone apps
- ruby on rails - the link between the model created by devise and the model originally created does not work
- ruby on rails 5 - ruby: i don't understand the meaning of the two inequality signs
- i don't understand the difference between = and === in javascript
- ruby on rails - i want to be able to understand the group administrator
- ruby on rails - i don't understand the description of the form object pattern
- rspec - i don't understand the difference between let and let! behavior (an error occurs in requestspec)
- ruby on rails 6 - when i press new user registration, i get an error of no route matches [get] "/ users"
- ruby on rails - i get an error without being created
- ruby on rails - rails60 i can't log in
- ruby on rails - [rails] the initial image of the icon for the user is not displayed
- ruby - partial template is not displayed (rails)
- ruby - i can't transition to my page for each user after logging out (rails)
Trends
- python - you may need to restart the kernel to use updated packages error
- php - coincheck api authentication doesn't work
- php - i would like to introduce the coincheck api so that i can make payments with bitcoin on my ec site
- [php] i want to get account information using coincheck api
- the emulator process for avd pixel_2_api_29 was killed occurred when the android studio emulator was started, so i would like to
- javascript - how to check if an element exists in puppeteer
- dart - flutter: the instance member'stars' can't be accessed in an initializer error
- sh - 'apt-get' is not recognized as an internal or external command, operable program or batch file
- i want to call a child component method from a parent in vuejs
- python 3x - typeerror: 'method' object is not subscriptable
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.