Sha256: c877e52d51f0291e352b1c4abfe17d6f960b07ee9b41c1257acb5c20e5c3a603

Contents?: true

Size: 288 Bytes

Versions: 5

Compression:

Stored size: 288 Bytes

Contents

module Puffer
  class Engine < Rails::Engine
    config.autoload_paths << File.join(root, 'lib')

    initializer 'puffer.add_cells_paths', :after => :add_view_paths do
      ::Cell::Base.prepend_view_path(Cells::DEFAULT_VIEW_PATHS.map { |path| File.join(root, path) })
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
puffer-0.0.19 lib/puffer/engine.rb
puffer-0.0.18 lib/puffer/engine.rb
puffer-0.0.17 lib/puffer/engine.rb
puffer-0.0.16 lib/puffer/engine.rb
puffer-0.0.15 lib/puffer/engine.rb