Sha256: f23ef3a369c3be68452c812d2951b99bf32ac14eb05325fe7d2fa499ec14ec2b

Contents?: true

Size: 492 Bytes

Versions: 8

Compression:

Stored size: 492 Bytes

Contents

require 'blacklight'
require 'blacklight_user_generated_content'

module BlacklightUserGeneratedContent
  class Engine < Rails::Engine
    initializer 'blacklight_user_generated_content.init', :after => 'blacklight.init' do |app|

    end

    config.to_prepare do
      # BlacklightUserGeneratedContent.inject!

      unless BlacklightUserGeneratedContent.omit_inject[:routes]
        Blacklight::Routes.send(:include, BlacklightUserGeneratedContent::RouteSets)
      end
    end

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
blacklight_user_generated_content-0.0.8 lib/blacklight_user_generated_content/engine.rb
blacklight_user_generated_content-0.0.7 lib/blacklight_user_generated_content/engine.rb
blacklight_user_generated_content-0.0.6 lib/blacklight_user_generated_content/engine.rb
blacklight_user_generated_content-0.0.5 lib/blacklight_user_generated_content/engine.rb
blacklight_user_generated_content-0.0.4 lib/blacklight_user_generated_content/engine.rb
blacklight_user_generated_content-0.0.3 lib/blacklight_user_generated_content/engine.rb
blacklight_user_generated_content-0.0.2 lib/blacklight_user_generated_content/engine.rb
blacklight_user_generated_content-0.0.1 lib/blacklight_user_generated_content/engine.rb