Closed nemesis51 closed 10 years ago
try to add this line to the route file get 'login', to: 'sessions#create', as: :login and in the index <%= link_to "login", login_path %>
@mekdif has it, you don't have a route defined. You can't use the path helper without a route defined.
@nemesis51 Are you still working on this issue? If not could you close this one down?
I have a login.html.erb in the views/students folder not sure why it works for 'new' and not the 'login'.
I also defined the login method in the controller but didn't help. so I am missing something still.