Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

only execute the nondigest task if needed

  • Loading branch information...
commit 20173e268228236c9006446c098507ea24138050 1 parent bbdb7f3
@mjtko mjtko authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 actionpack/lib/sprockets/assets.rake
View
6 actionpack/lib/sprockets/assets.rake
@@ -43,11 +43,11 @@ namespace :assets do
end
task :all do
- Rake::Task["assets:precompile:digest"].invoke
- ruby_rake_task "assets:precompile:nondigest"
+ Rake::Task["assets:precompile:primary"].invoke
+ ruby_rake_task "assets:precompile:nondigest" if Rails.application.config.assets.digest
end
- task :digest => ["assets:environment", "tmp:cache:clear"] do
+ task :primary => ["assets:environment", "tmp:cache:clear"] do
internal_precompile
end
Please sign in to comment.
Something went wrong with that request. Please try again.