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