Commit 6db6bd6fb42472bc01aecbad6804b700b8b87f3e

Authored by Rodrigo Souto
2 parents bdff2d88 64cdee48

Merge commit 'refs/merge-requests/369' of git://gitorious.org/noosfero/noosfero into stable

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/sweepers/profile_sweeper.rb
... ... @@ -4,7 +4,7 @@ class ProfileSweeper # < ActiveRecord::Observer
4 4 include SweeperHelper
5 5  
6 6 def after_update(profile)
7   - expire_caches(profile)
  7 + self.delay.expire_caches profile
8 8 end
9 9  
10 10 def after_create(profile)
... ...