Method: Audited::Sweeper#current_user
- Defined in:
- lib/audited/sweeper.rb
#current_user ⇒ Object
22 23 24 |
# File 'lib/audited/sweeper.rb', line 22 def current_user lambda { controller.send(Audited.current_user_method) if controller.respond_to?(Audited.current_user_method, true) } end |