Ruby on Rails
Friday, May 2, 2014
Yes, when the 'current_user' is nil 'home_path' calls a method from session controller. I understand the reason of the loop, but I don´t know how to fix it :(
I need this way because when the user is not loged he can't access anything from the application.
Thanks ,
Alfred.
-- I need this way because when the user is not loged he can't access anything from the application.
Thanks ,
Alfred.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/d677c514-b2ab-4289-8221-efc32e0ef82f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment