app/models/spotlight/exhibit.rb in blacklight-spotlight-0.15.0 vs app/models/spotlight/exhibit.rb in blacklight-spotlight-0.16.0

- old
+ new

@@ -8,9 +8,11 @@ include Spotlight::ExhibitDocuments scope :published, -> { where(published: true) } scope :unpublished, -> { where(published: false) } + paginates_per 50 + extend FriendlyId friendly_id :title, use: [:slugged, :finders] validates :title, presence: true validates :slug, uniqueness: true