Restful authentication - filtering out login?

i am unable to reach the login page when adding ‘before_filter
:login_required’ to the application controller.

I HAVE added the following to my sessions controller
‘before_filter :login_required, :except => [:new, :create, :destroy]’

I figured this would overload the app controller filter but i get this
loop while it looks for sessions/new and isnt allowed there.

I am faced with adding the before_filter to all controllers now. There
must be a better way.

worked it out.

just add this to sessions:

skip_before_filter :login_required

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs