aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorGuillermo Iguaran <guilleiguaran@gmail.com>2011-09-15 19:55:52 -0500
committerGuillermo Iguaran <guilleiguaran@gmail.com>2011-09-15 19:55:52 -0500
commitb50394bf844d0520d5dca485b169bba87f6d009a (patch)
tree7c82f1dc90150fc4c26f389af5139b0cb53484fe /actionpack
parent8a32a58f6f95deeae1ffe6f5dba9c4d71fbc8dff (diff)
downloadrails-b50394bf844d0520d5dca485b169bba87f6d009a.tar.gz
rails-b50394bf844d0520d5dca485b169bba87f6d009a.tar.bz2
rails-b50394bf844d0520d5dca485b169bba87f6d009a.zip
config.action_controller.asset_host shouldn't set to nil during precompile
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/sprockets/assets.rake3
1 files changed, 0 insertions, 3 deletions
diff --git a/actionpack/lib/sprockets/assets.rake b/actionpack/lib/sprockets/assets.rake
index 9b2f3a3f94..81223b7ead 100644
--- a/actionpack/lib/sprockets/assets.rake
+++ b/actionpack/lib/sprockets/assets.rake
@@ -17,9 +17,6 @@ namespace :assets do
# Always compile files
Rails.application.config.assets.compile = true
- # Always ignore asset host
- Rails.application.config.action_controller.asset_host = nil
-
config = Rails.application.config
env = Rails.application.assets
target = Pathname.new(File.join(Rails.public_path, config.assets.prefix))