Module: ProxES::Helpers::Wisper
- Included in:
- Security
- Defined in:
- lib/proxes/helpers/wisper.rb
Instance Method Summary collapse
Instance Method Details
#log_action(action, args = {}) ⇒ Object
9 10 11 12 |
# File 'lib/proxes/helpers/wisper.rb', line 9 def log_action(action, args = {}) args[:user] ||= current_user broadcast(action, args) end |