Ruby on Rails
Wednesday, September 23, 2015
On Wednesday, September 23, 2015 at 9:51:22 AM UTC+1, Shabeer Hasan wrote:
Hello, i am new to rails, i am starting an app with devise for authentication, but when i add the linein the ApplicationContoller, when we login it just keeps landing on the login page again in a loop. but when i remove the above line it's working and is redirecting to the root url.
before_action :authenticate_user!Any advise please ?
Are you skipping the filter on the sessions controller?
Fred
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/5e33772b-b5a2-4d03-b5d9-a463666b9caa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment