From 8d20a68a53b15175ceb642949819149983e328ab Mon Sep 17 00:00:00 2001 From: Matchu Date: Wed, 8 Dec 2010 21:14:24 -0500 Subject: [PATCH] remove need for content_for in items/show caching --- app/views/items/show.html.haml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/views/items/show.html.haml b/app/views/items/show.html.haml index 38fc8bcc..6c3286c9 100644 --- a/app/views/items/show.html.haml +++ b/app/views/items/show.html.haml @@ -34,7 +34,5 @@ var CURRENT_ITEM_ZONES_RESTRICT = #{@item.zones_restrict.inspect}, IMPRESS_HOST = #{RemoteImpressHost.inspect}; -- content_for :javascripts do - = javascript_include_tag 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js', - 'http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js', - 'items/show' += include_javascript_libraries :jquery, :swfobject += javascript_include_tag 'items/show'