Sha256: a7666e80ee4ae1ed451a70d60231f562efa7566d788c931d0df3be47aea5b953
Contents?: true
Size: 497 Bytes
Versions: 26
Compression:
Stored size: 497 Bytes
Contents
module ExpireTagCloud def expire_tag_cloud(bookmark) I18n.available_locales.each do |locale| Role.all_cache.each do |role| expire_fragment(:controller => :tags, :action => :index, :page => 'user_tag_cloud', :user_id => bookmark.user.username, :locale => locale, :role => role.name, :user_id => nil) expire_fragment(:controller => :tags, :action => :index, :page => 'public_tag_cloud', :locale => locale, :role => role.name, :user_id => nil) end end end end
Version data entries
26 entries across 26 versions & 1 rubygems