Sha256: f5239bbf76fa9a24642910cd0b54d571dc960dbde033b1216b3640746efb4d4d

Contents?: true

Size: 343 Bytes

Versions: 2

Compression:

Stored size: 343 Bytes

Contents

module Workarea
  decorate Search::Admin, with: :kount do
    class_methods do
      # The core code will try to use Workarea::Search::Admin::Order to index
      # the Workarea::Kount::Order model, guard against it
      def for(model)
        return if model.class.to_s === "Workarea::Kount::Order"
        super
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
workarea-kount-3.3.1 app/models/workarea/search/admin.decorator
workarea-kount-3.3.0 app/models/workarea/search/admin.decorator