Sha256: 8ea43824ab77bee06094d9083000854b290b897b79d24eea928130826527cccc
Contents?: true
Size: 430 Bytes
Versions: 7
Compression:
Stored size: 430 Bytes
Contents
module HandlebarsAssets class Engine < ::Rails::Engine initializer "sprockets.handlebars", :after => "sprockets.environment", :group => :all do |app| next unless app.assets app.assets.register_engine('.hbs', TiltHandlebars) app.assets.register_engine('.handlebars', TiltHandlebars) app.assets.register_engine('.hamlbars', TiltHandlebars) if HandlebarsAssets::Config.haml_available? end end end
Version data entries
7 entries across 7 versions & 1 rubygems