Skip to content

Commit

Permalink
Use group :all
Browse files Browse the repository at this point in the history
- allows for precompiling and on-the-fly (dev usually)
  • Loading branch information
leshill committed Nov 26, 2011
1 parent 5fb245d commit 25c565a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/handlebars_assets/engine.rb
@@ -1,6 +1,6 @@
module HandlebarsAssets
class Engine < ::Rails::Engine
initializer "sprockets.handlebars", :after => "sprockets.environment", :group => :assets do |app|
initializer "sprockets.handlebars", :after => "sprockets.environment", :group => :all do |app|
next unless app.assets
app.assets.register_engine('.hbs', TiltHandlebars)
end
Expand Down

0 comments on commit 25c565a

Please sign in to comment.