Sha256: d0717319daa4e6a420646192dee49583108aa524f32c5ac995014b57b6a40811

Contents?: true

Size: 328 Bytes

Versions: 2

Compression:

Stored size: 328 Bytes

Contents

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

    initializer 'puffer_components.set_configs', :after => 'action_controller.set_configs' do |app|
      Puffer::Component::Base.helpers_path = app.config.helpers_paths
      Puffer::Component::Base.helper :all
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
puffer-0.1.1 lib/puffer/engine.rb
puffer-0.1.0 lib/puffer/engine.rb