Commit 75125b2a658032bd8f9da2ccdc57ce2a1d7b4869

Authored by Victor Costa
1 parent 11a6a7ac

Expire cache of track block when change a category

plugins/community_track/lib/community_track_plugin/track_list_block.rb
@@ -62,7 +62,7 @@ class CommunityTrackPlugin::TrackListBlock < Block @@ -62,7 +62,7 @@ class CommunityTrackPlugin::TrackListBlock < Block
62 end 62 end
63 63
64 def self.expire_on 64 def self.expire_on
65 - { :profile => [:article], :environment => [:article] } 65 + { :profile => [:article, :category], :environment => [:article, :category] }
66 end 66 end
67 67
68 end 68 end