doc/classes/Mack/Controller/ClassMethods.html in mack-caching-0.7.0.1 vs doc/classes/Mack/Controller/ClassMethods.html in mack-caching-0.7.1
- old
+ new
@@ -78,11 +78,11 @@
<div id="method-list">
<h3 class="section-bar">Methods</h3>
<div class="name-list">
- <a href="#M000001">cache_pages</a>
+ <a href="#M000005">cache_pages</a>
</div>
</div>
</div>
@@ -100,15 +100,15 @@
<!-- if method_list -->
<div id="methods">
<h3 class="section-bar">Public Instance methods</h3>
- <div id="method-M000001" class="method-detail">
- <a name="M000001"></a>
+ <div id="method-M000005" class="method-detail">
+ <a name="M000005"></a>
<div class="method-heading">
- <a href="#M000001" class="method-signature">
+ <a href="#M000005" class="method-signature">
<span class="method-name">cache_pages</span><span class="method-args">(options = {})</span>
</a>
</div>
<div class="method-description">
@@ -122,11 +122,11 @@
cache_pages # => will cache all pages for a controller
cache_pages :only => [:index, :show] # => will only cache the index and show pages for a controller
cache_pages :except => [:delete] # => will cache all pages except for the delete page for a controller
</pre>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000001-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000001-source">
+ onclick="toggleCode('M000005-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000005-source">
<pre>
<span class="ruby-comment cmt"># File lib/mack-caching/page_caching/controller_extensions.rb, line 13</span>
13: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cache_pages</span>(<span class="ruby-identifier">options</span> = {})
14: <span class="ruby-identifier">before_filter</span> <span class="ruby-identifier">:set_page_cache_header</span>, <span class="ruby-identifier">options</span>
15: <span class="ruby-keyword kw">end</span>
\ No newline at end of file