app/models/spotlight/exhibit.rb in blacklight-spotlight-2.0.0.rc3 vs app/models/spotlight/exhibit.rb in blacklight-spotlight-2.0.0.rc4

- old
+ new

@@ -63,10 +63,10 @@ accepts_nested_attributes_for :roles, allow_destroy: true, reject_if: proc { |attr| attr['user_key'].blank? && attr['id'].blank? } before_save :sanitize_description, if: :description_changed? def main_about_page - @main_about_page ||= about_pages.published.first + @main_about_page ||= about_pages.for_locale.published.first end def browse_categories? searches.published.any? end