Always enable digest and compile in the Rake task

This commit is contained in:
Guillermo Iguaran 2011-08-31 09:42:43 -05:00 committed by José Valim
parent d0fafaf20f
commit 73d34feb4c

@ -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