Skip to content

Commit

Permalink
Support rake asset:precompile in Rails 3.1+.
Browse files Browse the repository at this point in the history
Note: not tested on 3.0.
  • Loading branch information
kaukas committed Oct 24, 2012
1 parent a4eb1a6 commit d619a5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dust-rails/rails/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
module Dust
module Rails
class Engine < ::Rails::Engine
initializer :register_dustjs do |app|
initializer :register_dustjs, :group => :all do |app|
app.assets.register_engine '.dust', DustTemplate
end
end
Expand Down

0 comments on commit d619a5a

Please sign in to comment.