I am using restful_authentication in combination with role_requirment.
At the beginning of the controllers that I want to have login control
over, I include
For instance. If I login as either of the two roles then call a
controller it works fine. However if I do not login at all and simply
call a controller, it let's me right in. It doesn't restrict access
whatsoever. No redirect to a login page or nothing.
How do I restrict access if no user is logged in at all?