Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #3 from kaukas/support-assets-precompile

Support rake asset:precompile in Rails 3.1+.
  • Loading branch information...
commit a760dd9a9b24390a63ab828b0e479b9ff0ad45e5 2 parents a4eb1a6 + d619a5a
@thefron authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/dust-rails/rails/engine.rb
View
2  lib/dust-rails/rails/engine.rb
@@ -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

1 comment on commit a760dd9

@kaukas

However, rake assets:precompile still does not work properly in the cases when compilation happens in a copy of the project, e.g. during capistrano deployment with deploy_via: :copy.

Please sign in to comment.
Something went wrong with that request. Please try again.