Sha256: a5df559f8405a51b3588dc86ef83a16e2cbca7eba67d8ed4e4a61bdccd487a43

Contents?: true

Size: 272 Bytes

Versions: 2

Compression:

Stored size: 272 Bytes

Contents

module ReportsKit
  class BaseController < ActionController::Base
    include ReportsKit::NormalizedParams

    # This is intentionally public to allow external code to access it
    def context_record
      ReportsKit.configuration.context_record(self)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
reports_kit-0.3.3 lib/reports_kit/base_controller.rb
reports_kit-0.3.2 lib/reports_kit/base_controller.rb