Module: UserStamp::AppController
- Defined in:
- lib/user_stamp/app_controller.rb
Instance Method Summary collapse
-
#set_user_stamp ⇒ Object
Called by the main application using a :before_filter.
Instance Method Details
#set_user_stamp ⇒ Object
Called by the main application using a :before_filter
34 35 36 37 |
# File 'lib/user_stamp/app_controller.rb', line 34 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 |