Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Always enable digest and compile in the Rake task

  • Loading branch information...
commit 73d34feb4c6b658d28c83ac6c69413b737565b23 1 parent d0fafaf
@guilleiguaran guilleiguaran authored josevalim committed
Showing with 3 additions and 2 deletions.
  1. +3 −2 actionpack/lib/sprockets/assets.rake
View
5 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
Please sign in to comment.
Something went wrong with that request. Please try again.