Sha256: a6312f21e7a08d0baa3d16b29398dbc95e94acb45da6e1ea716bd7d29e3a4f70

Contents?: true

Size: 498 Bytes

Versions: 1

Compression:

Stored size: 498 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
     #{config.root}/app/actors/concerns
    )

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
worthwhile-0.1.0 lib/worthwhile/engine.rb