aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorGuillermo Iguaran <guilleiguaran@gmail.com>2011-08-31 09:42:43 -0500
committerJosé Valim <jose.valim@gmail.com>2011-08-31 19:18:16 +0200
commit73d34feb4c6b658d28c83ac6c69413b737565b23 (patch)
treeca6d5832953499b17e343a7519898263c7da3124 /actionpack
parentd0fafaf20fcfd67b659ffebc1adb48667533a907 (diff)
downloadrails-73d34feb4c6b658d28c83ac6c69413b737565b23.tar.gz
rails-73d34feb4c6b658d28c83ac6c69413b737565b23.tar.bz2
rails-73d34feb4c6b658d28c83ac6c69413b737565b23.zip
Always enable digest and compile in the Rake task
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/sprockets/assets.rake5
1 files changed, 3 insertions, 2 deletions
diff --git a/actionpack/lib/sprockets/assets.rake b/actionpack/lib/sprockets/assets.rake
index 7594ee4296..5698f22080 100644
--- a/actionpack/lib/sprockets/assets.rake
+++ b/actionpack/lib/sprockets/assets.rake
@@ -13,8 +13,9 @@ namespace :assets do
# Ensure that action view is loaded and the appropriate sprockets hooks get executed
ActionView::Base
- # Always perform caching so that asset_path appends the timestamps to file references.
- Rails.application.config.action_controller.perform_caching = true
+ # Always calculate digests and compile files
+ Rails.application.config.assets.digest = true
+ Rails.application.config.assets.compile = true
config = Rails.application.config
env = Rails.application.assets