Permalink
Browse files

[#35] Don't cache page headers.

  • Loading branch information...
1 parent 4149aa2 commit e2c10df97b7b1c7378c71ee34b515ce3dfae1293 @zk zk committed Sep 28, 2011
@@ -2,10 +2,7 @@ class MainController < ApplicationController
layout 'main', :except => ["lib_search", "preview_example"]
- caches_action :quick_ref_shortdesc
-
def index
-
num_recent = 6
num_tc = 24
@recently_updated = find_recently_updated(7, nil)
@@ -1,3 +1,5 @@
+<% cache do %>
+
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
@@ -96,3 +98,5 @@
</div> -->
</div>
<div class="container_16">
+
+<% end %>
@@ -1,3 +1,5 @@
+<% cache do %>
+
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
$('.toc').makeTOCSideBar()
@@ -76,3 +78,5 @@
</div>
</div>
<div class="container_16">
+
+<% end %>

0 comments on commit e2c10df

Please sign in to comment.