Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module TrisanoSecuritay
- module Controllers
- module ApplicationController
- reloadable!
- hook! 'ApplicationController'
- def load_user_with_authlogic
- raise "Yay - you finally got here!"
- end
- def self.included(base)
- base.before_filter :load_user, :except => [:login]
- base.alias_method_chain :load_user, :authlogic
- end
- end
- end
- end
Add Comment
Please, Sign In to add comment