Sha256: 6e98643ab30e99492c5f09520dbd57aa3543f238047acb9891d61bc0d8eed7b7

Contents?: true

Size: 278 Bytes

Versions: 16

Compression:

Stored size: 278 Bytes

Contents

module ActionTracker
  module Helpers
    # nodoc
    module Render
      def track_event
        return unless session[:action_tracker].present?
        output = session[:action_tracker].flatten
        session[:action_tracker] = nil
        output
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
action_tracker-1.0.2 lib/action_tracker/helpers/render.rb
action_tracker-1.0.1 lib/action_tracker/helpers/render.rb
action_tracker-1.0.0.1 lib/action_tracker/helpers/render.rb
action_tracker-1.0.0 lib/action_tracker/helpers/render.rb
action_tracker-0.1.7 lib/action_tracker/helpers/render.rb
action_tracker-0.1.6.3 lib/action_tracker/helpers/render.rb
action_tracker-0.1.6.2 lib/action_tracker/helpers/render.rb
action_tracker-0.1.6.1 lib/action_tracker/helpers/render.rb
action_tracker-0.1.6 lib/action_tracker/helpers/render.rb
action_tracker-0.1.5 lib/action_tracker/helpers/render.rb
action_tracker-0.1.4 lib/action_tracker/helpers/render.rb
action_tracker-0.1.3 lib/action_tracker/helpers/render.rb
action_tracker-0.1.2.2 lib/action_tracker/helpers/render.rb
action_tracker-0.1.2.1 lib/action_tracker/helpers/render.rb
action_tracker-0.1.2 lib/action_tracker/helpers/render.rb
action_tracker-0.1.1 lib/action_tracker/helpers/render.rb