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 line > before_action :authenticate_user! > in 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. > > 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 [email protected]. To post to this group, send email to [email protected]. 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.

