remove need for content_for in items/show caching
This commit is contained in:
parent
ca9e1fb0ca
commit
8d20a68a53
1 changed files with 2 additions and 4 deletions
|
@ -34,7 +34,5 @@
|
||||||
var CURRENT_ITEM_ZONES_RESTRICT = #{@item.zones_restrict.inspect},
|
var CURRENT_ITEM_ZONES_RESTRICT = #{@item.zones_restrict.inspect},
|
||||||
IMPRESS_HOST = #{RemoteImpressHost.inspect};
|
IMPRESS_HOST = #{RemoteImpressHost.inspect};
|
||||||
|
|
||||||
- content_for :javascripts do
|
= include_javascript_libraries :jquery, :swfobject
|
||||||
= javascript_include_tag 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js',
|
= javascript_include_tag 'items/show'
|
||||||
'http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js',
|
|
||||||
'items/show'
|
|
||||||
|
|
Loading…
Reference in a new issue