From e54c33bfc8eab7ac482d571ab6bb0285b40fa56b Mon Sep 17 00:00:00 2001 From: Aaron Batalion Date: Wed, 19 Nov 2008 18:10:02 -0500 Subject: need to make sure the asset type is cached with it in Cache.. name is sufficient, not self Signed-off-by: Jeremy Kemper --- actionpack/lib/action_view/helpers/asset_tag_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionpack/lib/action_view/helpers/asset_tag_helper.rb') diff --git a/actionpack/lib/action_view/helpers/asset_tag_helper.rb b/actionpack/lib/action_view/helpers/asset_tag_helper.rb index cdaf6f1926..4352d7819b 100644 --- a/actionpack/lib/action_view/helpers/asset_tag_helper.rb +++ b/actionpack/lib/action_view/helpers/asset_tag_helper.rb @@ -538,12 +538,12 @@ module ActionView @source = source @include_host = include_host @cache_key = if controller.respond_to?(:request) - [controller.request.protocol, + [self.class.name,controller.request.protocol, ActionController::Base.asset_host, ActionController::Base.relative_url_root, source, include_host] else - [ActionController::Base.asset_host, source, include_host] + [self.class.name,ActionController::Base.asset_host, source, include_host] end end -- cgit v1.2.3