Sha256: 92d9a225335fda0c210e1cea136b1ca1fb275b90467dafa40752a45404bee991

Contents?: true

Size: 260 Bytes

Versions: 11

Compression:

Stored size: 260 Bytes

Contents

# frozen_string_literal: true

require 'wisper'
require 'proxes/request'

module ProxES
  module Helpers
    module Wisper
      def log_action(action, args = {})
        args[:user] ||= current_user
        broadcast(action, args)
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
proxes-0.7.1 lib/proxes/helpers/wisper.rb
proxes-0.7.0 lib/proxes/helpers/wisper.rb
proxes-0.6.1 lib/proxes/helpers/wisper.rb
proxes-0.6.0 lib/proxes/helpers/wisper.rb
proxes-0.5.2 lib/proxes/helpers/wisper.rb
proxes-0.5.1 lib/proxes/helpers/wisper.rb
proxes-0.5.0 lib/proxes/helpers/wisper.rb
proxes-0.4.4 lib/proxes/helpers/wisper.rb
proxes-0.4.3 lib/proxes/helpers/wisper.rb
proxes-0.4.2 lib/proxes/helpers/wisper.rb
proxes-0.4.1 lib/proxes/helpers/wisper.rb