Sha256: 42d89c91bc0ade7a05f48ea8fbce4a78a77288fae91dbbbae5f152171056ebb3

Contents?: true

Size: 308 Bytes

Versions: 3

Compression:

Stored size: 308 Bytes

Contents

# frozen_string_literal: true

module Spotlight
  ##
  # About pages
  class AboutPage < Spotlight::Page
    extend FriendlyId
    friendly_id :title, use: %i[slugged scoped finders history], scope: %i[exhibit locale] do |config|
      config.reserved_words.concat(%w[update_all contacts])
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
blacklight-spotlight-3.0.0.rc2 app/models/spotlight/about_page.rb
blacklight-spotlight-3.0.0.rc1 app/models/spotlight/about_page.rb
blacklight-spotlight-3.0.0.alpha.10 app/models/spotlight/about_page.rb