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.