Home>

Please write your question in detail here.
We are implementing the guest login function.
I'm setting up routing, but I'm getting a routing error.
How should I resolve this case?

Routing Error

uninitialized constant Users
Rails.root:/Users/xxxx/projects/xxxx
Application Trace | Framework Trace | Full Trace
Routes
Routes match in priority from top to bottom```
### Corresponding source code
users>sessions>new.html.rb

<% = link_to "guest login", users_guest_sign_in_path, method:: post, class: "btn btn-outline-primary w-100 btn-lg"%>

routes.rb
Rails.application.routes.draw do
devise_for: users
devise_scope: user do
post'users/guest_sign_in', to:'users/sessions # new_guest'
end

`` ```

What I tried

I checked the prefix path with rails routes, but it existed.

Supplementary information (FW/tool version, etc.)

Please provide more detailed information here.