Sha256: 5a7f5af4b7c250b53263a146ccdfa96ee71794e9ea1a27957711267556b36857

Contents?: true

Size: 235 Bytes

Versions: 4

Compression:

Stored size: 235 Bytes

Contents

module Ahoy
  class BaseController < ApplicationController
    # skip all filters
    skip_filter *_process_action_callbacks.map(&:filter)

    def ahoy
      @ahoy ||= Ahoy::Tracker.new(controller: self, api: true)
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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