am using devise for my authentication,i tried customizing the users/sign_in route to users/login but i keep getting this error
NoMethodError in Devise::Sessions#new
undefined method `user_session_path' for #<Module:0x651c828>
It highlights this line which is in the sign_in view
<%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
below is my route.rb
devise_scope :user do
get "login", to: "devise/sessions#new"
post "login", to: "devise/session#new"
end
/users/sign_inis still available) or do you just want to change the names of the paths?