Sha256: 9e7461cb31df7e1d6f70b4ad0aa9454ecb506cb58bd56fe85b7f591ab1c2108e

Contents?: true

Size: 186 Bytes

Versions: 5

Compression:

Stored size: 186 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

5 entries across 5 versions & 1 rubygems

Version Path
ahoy_matey-1.1.1 app/controllers/ahoy/visits_controller.rb
ahoy_matey-1.1.0 app/controllers/ahoy/visits_controller.rb
ahoy_matey-1.0.2 app/controllers/ahoy/visits_controller.rb
ahoy_matey-1.0.1 app/controllers/ahoy/visits_controller.rb
ahoy_matey-1.0.0 app/controllers/ahoy/visits_controller.rb