Sha256: 07de2693aa726bd5e94538f418c77b16186a1d78b2824c192425a73946a0a266

Contents?: true

Size: 292 Bytes

Versions: 4

Compression:

Stored size: 292 Bytes

Contents

require 'blacklight'
require 'blacklight_unapi'
require 'rails'

module BlacklightUnapi
  class Engine < Rails::Engine
    config.to_prepare do
      unless BlacklightUnapi.omit_inject[:routes]
        Blacklight::Routes.send(:include, BlacklightUnapi::RouteSets)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
blacklight_unapi-0.0.3 lib/blacklight_unapi/engine.rb
blacklight_unapi-0.0.2 lib/blacklight_unapi/engine.rb
blacklight_unapi-0.0.1 lib/blacklight_unapi/engine.rb
blacklight_unapi-0.0.1rc1 lib/blacklight_unapi/engine.rb