Sha256: 335bf74ac7fc8bc9a53a799da1689426a5a6fc36c02f2b2291f0f0ccb367fb88

Contents?: true

Size: 251 Bytes

Versions: 5

Compression:

Stored size: 251 Bytes

Contents

module Eastwood
  class Engine < ::Rails::Engine

    initializer 'eastwood.setup' do |app|
      # include helpers in the sprockets context
      app.assets.context_class.instance_eval do
        include Eastwood::Context
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
eastwood-0.5.0 lib/eastwood/engine.rb
eastwood-0.4.0 lib/eastwood/engine.rb
eastwood-0.3.8 lib/eastwood/engine.rb
eastwood-0.3.7 lib/eastwood/engine.rb
eastwood-0.3.5 lib/eastwood/engine.rb