I am new to Ruby and Rails. This is my second application where I’m trying to implement login authentication.
Getting this error
No route matches "/user/process_login"
Here is my routes.rb
Myapp::Application.routes.draw do
get "user/login"
get "user/process_login"
end
On submit i am getting above error on login page. I think something has gone wrong in routes.rb or somewhere else.
looks like you’re trying to post to that route,
try changing your routes file to this: