aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2011-03-28 15:58:29 -0500
committerJoshua Peek <josh@joshpeek.com>2011-03-28 15:58:29 -0500
commit3b4e1a91590b27f6f874927dc51f6f1755ae9f19 (patch)
tree05cb5addfe190f3072498142dd6da5bbaa23b748 /actionpack/lib/action_view
parent9cb264555dbc630ff5e44d96b0d70061856f568c (diff)
downloadrails-3b4e1a91590b27f6f874927dc51f6f1755ae9f19.tar.gz
rails-3b4e1a91590b27f6f874927dc51f6f1755ae9f19.tar.bz2
rails-3b4e1a91590b27f6f874927dc51f6f1755ae9f19.zip
Update sprockets path generation method
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r--actionpack/lib/action_view/helpers/sprockets_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/sprockets_helper.rb b/actionpack/lib/action_view/helpers/sprockets_helper.rb
index 4abc09e9a5..bfc396fad5 100644
--- a/actionpack/lib/action_view/helpers/sprockets_helper.rb
+++ b/actionpack/lib/action_view/helpers/sprockets_helper.rb
@@ -46,7 +46,7 @@ module ActionView
end
# Fingerprint url
- source = Rails.application.assets.url(source)
+ source = Rails.application.assets.path(source)
host = compute_asset_host(source)