Sha256: 057b015c1c431cdfe2d4af4d4748431d130f59f754359aefd2f36d93e200b211

Contents?: true

Size: 317 Bytes

Versions: 3

Compression:

Stored size: 317 Bytes

Contents

class ApplicationController < ActionController::Base
  def append_info_to_payload(payload)
    super

    payload[:referer] = request.referer
    payload[:user_agent] = request.user_agent
    payload[:remote_ip] = request.remote_ip
    payload[:big_session_id] = Thread.current.fetch('big_session_id', nil)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
big_session-0.1.2 examples/landing_page_app_and_core_app/app_lp/app/controllers/application_controller.rb
big_session-0.1.1 examples/landing_page_app_and_core_app/app_lp/app/controllers/application_controller.rb
big_session-0.1.0 examples/landing_page_app_and_core_app/app_lp/app/controllers/application_controller.rb