[YS.PRO] :blog

Easy handle multiple AuthLogic session controllers

My Rails app using AuthLogic to manage admin, moderator and user sessions(separate controller for each of role).
So I created class method in application_controller.rb to avoid repeating of bunch of methods.

session_methods generates basic necessary controller methods for dealing with AuthLogic.
Using:

Tricky? Yep, authlogic session handling just became easier


To Tumblr, Love PixelUnion