Sha256: 8ea5975ab8469bdb7eea91d29f6934f9d0db588d89bd787c66b2888932b51b91
Contents?: true
Size: 536 Bytes
Versions: 10
Compression:
Stored size: 536 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? app.assets.register_engine('.slimbars', TiltHandlebars) if HandlebarsAssets::Config.slim_available? end end end
Version data entries
10 entries across 10 versions & 1 rubygems