Sha256: dbbe07ccbedab0637285f8a841c3768652162ab6d1bf77596a2ee738583e6a0e

Contents?: true

Size: 225 Bytes

Versions: 4

Compression:

Stored size: 225 Bytes

Contents

module Locomotive::Search::SearchablePage

  extend ActiveSupport::Concern

  included do
    field :searchable, default: false
  end

  def to_safe_params
    super.merge({
      searchable: self.searchable
    })
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
locomotivecms-search-0.3.6 lib/locomotive/search/wagon/searchable_page.rb
locomotivecms-search-0.3.5 lib/locomotive/search/wagon/searchable_page.rb
locomotivecms-search-0.3.4 lib/locomotive/search/wagon/searchable_page.rb
locomotivecms-search-0.3.3 lib/locomotive/search/wagon/searchable_page.rb