sign_in add the following to your
devise_scope :user do get 'login', to: 'devise/sessions#new' end
ADBlock is blocking some content on the site
I'm using devise for rails. I have the following route for devise.
Which routes to 'user/sign_in' and several other.
So I want to change this route to: get 'login'. Is this possible? I tried doing
match 'login', to: 'user/sign_in', via: :get
Which did not work as well, what am I doing wrong, and what does the above code do?