Sha256: d9042fc17cb175a1fe5c4fa2c324e04e333fc09de8ec29e061b4dea8b2ba2424

Contents?: true

Size: 403 Bytes

Versions: 3

Compression:

Stored size: 403 Bytes

Contents

require 'blacklight'
require 'blacklight_range_limit'
require 'rails'

module BlacklightRangeLimit
  class Engine < Rails::Engine
    config.action_dispatch.rescue_responses.merge!(
      "BlacklightRangeLimit::InvalidRange" => :not_acceptable
    )

    config.before_configuration do
      Blacklight::Configuration::FacetField.prepend BlacklightRangeLimit::FacetFieldConfigOverride
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
blacklight_range_limit-8.5.0 lib/blacklight_range_limit/engine.rb
blacklight_range_limit-8.4.0 lib/blacklight_range_limit/engine.rb
blacklight_range_limit-8.3.0 lib/blacklight_range_limit/engine.rb