app/models/spotlight/language.rb in blacklight-spotlight-2.4.1 vs app/models/spotlight/language.rb in blacklight-spotlight-2.5.0

- old
+ new

@@ -1,4 +1,6 @@ +# frozen_string_literal: true + module Spotlight # A language for an exhibit class Language < ActiveRecord::Base belongs_to :exhibit has_many :pages, ->(page) { where(locale: page.locale) }, through: :exhibit