search for: _topbar

Displaying 1 result from an estimated 1 matches for "_topbar".

Did you mean: topbar
2010 Oct 21
4
Authlogic + Rails3 - undefined method `Login' for nil:NilClass
...et a little bit of Authlogic working. I''m able to register a user, login & logout. Now, I would like to add more features, get more of authlogic working. I''m using Railscast EP 160 as my reference. Portions of the code found on the tutorial throw errors: Eg: <!-- layouts/_topbar.erb --> <%= link_to "Login", login_path %> and I get the following error message: undefined local variable or method `login_path'' for #<#<Class:0x0000000311e8f8>:0x0000000310af38> To overcome this, ive just used a string. i.e. <%= link_to "Login&qu...