I just got done setting up my app to work with authlogic following this exactly
before beginning I had already created a products catalog with basic CRUD functionality.
Right now I want the products catalog to only be accesible if the user is alread logged in.. so, basically if the user is not logged in it should go to the login page.. if he is, then localhost:3000 should take him to the products catalog.... m really confused...I dont even know what to do to logout...
Instead, right now, being logged in and going to localhost:3000 redirects me to http://localhost:3000/account
help please.
I have also noticed that if I go to my products catalog while being logged in I get this message on top f the page
"You must be logged out to access this page"