Hi Fred, i thought of it, but i couldn't find the session helper , i think 
it's handled inside the devise libraries 

On Wednesday, September 23, 2015 at 5:14:10 PM UTC+5:30, Frederick Cheung 
wrote:
>
>
>
> 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/01367203-af6e-42c2-8801-e5a675006a03%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to