Sha256: b943ff1fcca90068a2ffb24e693d5c7e89b515178837e0ed782e8cb79f0a00e0
Contents?: true
Size: 416 Bytes
Versions: 21
Compression:
Stored size: 416 Bytes
Contents
# frozen_string_literal: true module PagesCore module PageModel module Searchable extend ActiveSupport::Concern def search_document_attributes super.merge( published: published?, name: name, description: try(&:meta_description?) ? meta_description : excerpt, # content: "", tags: tag_names.join(" ") ) end end end end
Version data entries
21 entries across 21 versions & 1 rubygems