Sha256: 65f5093ac93b1cf4898fb5cee086f6a179ea2064b8402f50949ff86fafc5c512

Contents?: true

Size: 241 Bytes

Versions: 2

Compression:

Stored size: 241 Bytes

Contents

module HandlebarsAssets
  class Engine < ::Rails::Engine
    initializer "sprockets.handlebars", after: "sprockets.environment" do |app|
      next unless app.assets
      app.assets.register_engine('.hbs', TiltHandlebars)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
handlebars_assets-0.1.0 lib/handlebars_assets/engine.rb
handlebars_assets-0.0.3 lib/handlebars_assets/engine.rb