Sha256: 5ca7d601f9b96ed0867cb079559a1fcbc4d819b4f1afde772b367f5f36fc6218
Contents?: true
Size: 544 Bytes
Versions: 6
Compression:
Stored size: 544 Bytes
Contents
require 'blacklight' require 'blacklight_range_limit' require 'rails' module BlacklightRangeLimit class Engine < Rails::Engine # Do these things in a to_prepare block, to try and make them work # in development mode with class-reloading. The trick is we can't # be sure if the controllers we're modifying are being reloaded in # dev mode, if they are in the BL plugin and haven't been copied to # local, they won't be. But we do our best. config.to_prepare do BlacklightRangeLimit.inject! end end end
Version data entries
6 entries across 6 versions & 1 rubygems