Sha256: 60b652315a3149c248243bfd92349e98e876b26a9768d5226390ce9867a5db17

Contents?: true

Size: 500 Bytes

Versions: 3

Compression:

Stored size: 500 Bytes

Contents

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

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

    config.autoload_paths += %W(
     #{config.root}/lib
     #{config.root}/app/actors/concerns
    )
    
    initializer 'worthwhile.initialize' do
      require 'worthwhile/rails/routes' 
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
worthwhile-0.0.3 lib/worthwhile/engine.rb
worthwhile-0.0.2 lib/worthwhile/engine.rb
worthwhile-0.0.1 lib/worthwhile/engine.rb