Sha256: c45392066a4ecdab39d07eb90ef97cc8e7d5011f2a670e679f49bf4f7548d86c
Contents?: true
Size: 541 Bytes
Versions: 4
Compression:
Stored size: 541 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 ) end end
Version data entries
4 entries across 4 versions & 1 rubygems