test/rails_root/app/views/layouts/application.html.erb in uploader-0.1.20 vs test/rails_root/app/views/layouts/application.html.erb in uploader-0.2.0
- old
+ new
@@ -3,10 +3,14 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>Uploader</title>
<%= stylesheet_link_tag 'screen', :media => 'all' %>
- <%= javascript_include_tag :defaults %>
+ <%= javascript_include_tag %w{
+ jquery/jquery.js
+ jquery/jquery-ui.js
+ application.js }, :cache => 'all_js_cached' %>
+ <%= yield :head -%>
</head>
<body>
<div id="flash">
<% flash.each do |key, value| -%>
<div id="flash_<%= key %>"><%=h value %></div>