Sha256: 7191715b41b75075ae405d93f6567b2fcba1b4010699d5a7b1319f3d4b3af1cc
Contents?: true
Size: 684 Bytes
Versions: 4
Compression:
Stored size: 684 Bytes
Contents
require 'blacklight' require 'blacklight_range_limit' require 'rails' module BlacklightRangeLimit class Engine < Rails::Engine # Need to tell asset pipeline to precompile the excanvas # we use for IE. initializer "blacklight_range_limit.assets", :after => "assets" do if defined? Sprockets Rails.application.config.assets.precompile += %w( flot/excanvas.min.js ) end end 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
4 entries across 4 versions & 1 rubygems