public
Description: Merb More: The Full Stack. Take what you need; leave what you don't.
Homepage: http://www.merbivore.com
Clone URL: git://github.com/wycats/merb-more.git
Search Repo:
Re-added doc for expire_page introduced in 8690d67 and removed in fa9215d 
concerning #116
booss (author)
Thu May 08 12:19:25 -0700 2008
commit  6fb85092119a427ad8db0d647425bff4a618eeae
tree    321c4e46961d8290964ba0d75c70c1ebf8dc635b
parent  b49964b5f078416aef923e984b9ea99513090cf0
...
76
77
78
 
 
 
 
79
80
81
...
76
77
78
79
80
81
82
83
84
85
0
@@ -76,6 +76,10 @@ module Merb::Cache::ControllerInstanceMethods
0
   # expire_page(:action => 'show', :controller => 'news')
0
   #
0
   # # will expire path/to/page/cache/news/show*
0
+ # expire_page(:action => 'show', :match => true)
0
+ #
0
+ # # will expire path/to/page/cache/news/show.js
0
+ # expire_page(:action => 'show', :extension => 'js')
0
   def expire_page(options)
0
     config_dir = Merb::Controller._cache.config[:cache_html_directory]
0
     Merb::Controller._cache.expire_key_for(options, controller_name, true) do |key, match|

Comments

    No one has commented yet.