module UserStamp::AppController

Public Instance Methods

set_user_stamp() click to toggle source

Called by the main application using a :before_filter

# File lib/user_stamp/app_controller.rb, line 33
def set_user_stamp
  # use the current_user configuration as an object within the main app
  User.current = self.send(UserStamp.configuration.current_user)
end