aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/sprockets
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib/sprockets')
-rw-r--r--actionpack/lib/sprockets/assets.rake6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/sprockets/assets.rake b/actionpack/lib/sprockets/assets.rake
index 18fe9f05a0..68d9a9ca31 100644
--- a/actionpack/lib/sprockets/assets.rake
+++ b/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