summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2008-08-20 04:26:46 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2008-08-20 04:26:46 +0000
commita899904f6340c337b0e3ac6309731b8bcf95fd56 (patch)
treeb605c051251f594e100a26baf5a6e237e97020f9 /app
parent53078ca9498dc9c91efc4c7dd7a351f26c6be30e (diff)
downloadredmine-a899904f6340c337b0e3ac6309731b8bcf95fd56.tar.gz
redmine-a899904f6340c337b0e3ac6309731b8bcf95fd56.zip
Javascripts are now cached into a single file for downloads in production mode.
Thanks to Philippe Lafoucrière for the patch. (#1186) git-svn-id: http://redmine.rubyforge.org/svn/trunk@1748 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/views/layouts/base.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/base.rhtml b/app/views/layouts/base.rhtml
index 62d542b7b..a769fdd61 100644
--- a/app/views/layouts/base.rhtml
+++ b/app/views/layouts/base.rhtml
@@ -6,7 +6,7 @@
<meta name="description" content="<%= Redmine::Info.app_name %>" />
<meta name="keywords" content="issue,bug,tracker" />
<%= stylesheet_link_tag 'application', :media => 'all' %>
-<%= javascript_include_tag :defaults %>
+<%= javascript_include_tag :defaults, :cache => true %>
<%= stylesheet_link_tag 'jstoolbar' %>
<!--[if IE]>
<style type="text/css">