Sha256: 411e4478238090fb36cb86b01f8c92d149f6ca8045c3a35b6ec9bcc4bac40290

Contents?: true

Size: 266 Bytes

Versions: 5

Compression:

Stored size: 266 Bytes

Contents

module Scrivito
module Backend
  class PermalinkIndex
    class << self
      include Backend::Index

      def id
        "permalink"
      end

      def query(keys)
        [{ field: '_permalink', operator: :equals, value: keys }]
      end
    end
  end
end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
scrivito_sdk-0.65.2 lib/scrivito/backend/permalink_index.rb
scrivito_sdk-0.65.1 lib/scrivito/backend/permalink_index.rb
scrivito_sdk-0.65.0 lib/scrivito/backend/permalink_index.rb
scrivito_sdk-0.65.0.rc2 lib/scrivito/backend/permalink_index.rb
scrivito_sdk-0.65.0.rc1 lib/scrivito/backend/permalink_index.rb