Sha256: 0423715d39c28b0dcbe0416706023712677d4690cae63876798857aadad1ae23

Contents?: true

Size: 244 Bytes

Versions: 3

Compression:

Stored size: 244 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

3 entries across 3 versions & 1 rubygems

Version Path
handlebars_assets-0.1.3 lib/handlebars_assets/engine.rb
handlebars_assets-0.1.2 lib/handlebars_assets/engine.rb
handlebars_assets-0.1.1 lib/handlebars_assets/engine.rb