Gaurav Agarwal

Joined

260 Experience
2 Lessons Completed
0 Questions Solved

Activity

Yes, @ThomasBlumenfeld I am trying to implement authentication. And somehow I successed with this method and now it's generating this error.

I am getting a Routing error says " no routes matches [GET] "/login" " and also in ruby libraries. During running on a server it displays page not found and the logs for that error is Logs show [GET] route error and library error.

I have my index file at following path
views/home/index.html.erb
My code in config/routes.rb is:

Rails.application.routes.draw do
root 'home#index' 
get 'show' => 'welcomes#show'
resources :home

I already tried adding login in routes.rb.

Error logs