Sha256: 7415a3e4d65d7345b99fc02b733b93f83282d2b33cf182d31da5f56aad8b9e2c

Contents?: true

Size: 236 Bytes

Versions: 2

Compression:

Stored size: 236 Bytes

Contents

module HamlAssets
  class Engine < ::Rails::Engine
    initializer "sprockets.haml", after: "sprockets.environment" do |app|
      next unless app.assets

      app.assets.register_engine('.haml', HamlSprocketsEngine)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
haml_assets-0.0.3 lib/haml_assets/engine.rb
haml_assets-0.0.2 lib/haml_assets/engine.rb