Sha256: 71e5c9bb5bc963b755403041fc5793141bbba9f9de8a6b8b354a2b17b1b02f48

Contents?: true

Size: 458 Bytes

Versions: 2

Compression:

Stored size: 458 Bytes

Contents

#Load blacklight which will give worthwhile views a higher preference than those in blacklight
require 'blacklight'
require 'worthwhile/models'
require 'hydra-collections'

module Worthwhile
  class Engine < ::Rails::Engine
    isolate_namespace Worthwhile
    require 'breadcrumbs_on_rails'

    config.autoload_paths += %W(
     #{config.root}/lib
    )

    initializer 'worthwhile.initialize' do
      require 'worthwhile/rails/routes'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
worthwhile-0.1.2 lib/worthwhile/engine.rb
worthwhile-0.1.1 lib/worthwhile/engine.rb