Sha256: 80db69973166bbd85c60fcb52dd5f1e4227a18e4870486c4cc9eefbcacbf75a3
Contents?: true
Size: 546 Bytes
Versions: 2
Compression:
Stored size: 546 Bytes
Contents
require 'blacklight' require 'blacklight_range_limit' require 'rails' module BlacklightOaiProvider 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 BlacklightOaiProvider.inject! end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
blacklight_oai_provider-0.0.1pre2 | lib/blacklight_oai_provider/engine.rb |
blacklight_oai_provider-0.0.1pre1 | lib/blacklight_oai_provider/engine.rb |