Commit 6db6bd6fb42472bc01aecbad6804b700b8b87f3e
Exists in
master
and in
28 other branches
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,7 +4,7 @@ class ProfileSweeper # < ActiveRecord::Observer | ||
| 4 | include SweeperHelper | 4 | include SweeperHelper |
| 5 | 5 | ||
| 6 | def after_update(profile) | 6 | def after_update(profile) |
| 7 | - expire_caches(profile) | 7 | + self.delay.expire_caches profile |
| 8 | end | 8 | end |
| 9 | 9 | ||
| 10 | def after_create(profile) | 10 | def after_create(profile) |