Home>

No route matches [GET] "/ users"
Is happening and I want to fix it
Please write your question in detail here.
(Example) Made with ryby on rails
■■ The following error message occurred while implementing the function.
I want to go to the new registration screen, devise is included

Routing Error ``` Error message No route matches [GET] "/ users"

Corresponding source code

* Routes.rb * Rails.application.routes.draw do devise_for: users * `` `Ruby
root to: "prototypes # index

end
* Prototypes_controllerclass *
  `` `ruby
def index
end

end


 New user registration 
<% = devise_error_messages!%>
*<% = form_with model: @user, url: user_registration_path, local: true do | f |%>*

Or


<% = link_to "login", new_user_session_path, class:: nav__btn%>
*<% = link_to "new registration", new_user_registration_path, class:: nav__btn%>*
List of routes
cancel_user_registration GET/users/cancel (.: Format) devise/registrations # cancel
new_user_registration GET/users/sign_up (.: format) devise/registrations # new
edit_user_registration GET/users/edit (.: format) devise/registrations # edit
user_registration PATCH/users (.: format) devise/registrations # update
PUT/users (.: format) devise/registrations # update
DELETE/users (.: format) devise/registrations # destroy
POST/users (.: format) devise/registrations # create
root GET/prototypes # index

Enter the language name here ruby, html Source code `` ```

What I tried

I changed the path several times and tried it, but it didn't work.
Please describe here what you have tried for the problem.

Supplementary information (FW/tool version, etc.)

Please provide more detailed information here.