Displaying 1 result from an estimated 1 matches for "clear_cache_rss_artikels".
2006 Jun 14
1
page caching with custom routes
hi ,
I''m having problems with expire_page with custom routes
i''ll show some code
blog_controller
---------------
def clear_cache_rss_artikels
expire_page url_for(:controller => "xml",:action => "rss_artikels")
end
this is called when a new article is posted or edited or destroyed
xml_controller
---------------
class XmlController < ApplicationController
caches_page :rss_artikels
def rss_artikels...