Sha256: e3d0d2029852de4b672154ef298a151cd105c838cd4922409a70cbb06fa16ec7

Contents?: true

Size: 184 Bytes

Versions: 16

Compression:

Stored size: 184 Bytes

Contents

module Ahoy
  class VisitsController < BaseController
    def create
      ahoy.track_visit
      render json: {visit_id: ahoy.visit_id, visitor_id: ahoy.visitor_id}
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
ahoy_matey-1.6.1 app/controllers/ahoy/visits_controller.rb
ahoy_matey-1.6.0 app/controllers/ahoy/visits_controller.rb
ahoy_matey-1.5.5 app/controllers/ahoy/visits_controller.rb
ahoy_matey-1.5.4 app/controllers/ahoy/visits_controller.rb
ahoy_matey-1.5.3 app/controllers/ahoy/visits_controller.rb
ahoy_matey-1.5.2 app/controllers/ahoy/visits_controller.rb
ahoy_matey-1.5.1 app/controllers/ahoy/visits_controller.rb
ahoy_matey-1.5.0 app/controllers/ahoy/visits_controller.rb
ahoy_matey-1.4.2 app/controllers/ahoy/visits_controller.rb
ahoy_matey-1.4.1 app/controllers/ahoy/visits_controller.rb
ahoy_matey-1.4.0 app/controllers/ahoy/visits_controller.rb
ahoy_matey-1.3.1 app/controllers/ahoy/visits_controller.rb
ahoy_matey-1.3.0 app/controllers/ahoy/visits_controller.rb
ahoy_matey-1.2.2 app/controllers/ahoy/visits_controller.rb
ahoy_matey-1.2.1 app/controllers/ahoy/visits_controller.rb
ahoy_matey-1.2.0 app/controllers/ahoy/visits_controller.rb