title: Undefined method when using devise in rails
body: <p>am using devise for my authentication,i tried customizing the users/sign_in route to users/login but i keep getting this error</p>
  
  <pre><code>NoMethodError in Devise::Sessions#new
  undefined method `user_session_path' for #&lt;Module:0x651c828&gt;
  </code></pre>
  
  <p>It highlights this line which is in the sign_in view</p>
  
  <pre><code>&lt;%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %&gt;
  </code></pre>
  
  <p>below is my route.rb</p>
  
  <pre><code>devise_scope :user do
    get "login", to: "devise/sessions#new"
    post "login", to: "devise/session#new"
  end
  </code></pre>