Sha256: df455ef79e0a4d74a1b569c0634e54ad35d2c4a8bfa1e387e2699ba17c402009
Contents?: true
Size: 447 Bytes
Versions: 59
Compression:
Stored size: 447 Bytes
Contents
module Spotlight ## # Spotlight configuration methods module Config extend ActiveSupport::Concern def exhibit_specific_blacklight_config raise "Exhibit id exists (#{params[:exhibit_id]}), but @exhibit hasn't been loaded yet" if params[:exhibit_id] && current_exhibit.nil? raise 'Exhibit not found' unless current_exhibit @exhibit_specific_blacklight_config ||= current_exhibit.blacklight_config end end end
Version data entries
59 entries across 59 versions & 1 rubygems