Commit 0f8cfad7d287ca54931909d66b4c871047907b1f
1 parent
a97e30b8
Exists in
master
and in
28 other branches
After updating an article, the activity is not "touched"
Showing
1 changed file
with
0 additions
and
5 deletions
Show diff stats
app/models/article.rb
| ... | ... | @@ -133,11 +133,6 @@ class Article < ActiveRecord::Base |
| 133 | 133 | article.advertise = true |
| 134 | 134 | end |
| 135 | 135 | |
| 136 | - after_update :update_creation_activity | |
| 137 | - def update_creation_activity | |
| 138 | - self.activity.touch if self.activity | |
| 139 | - end | |
| 140 | - | |
| 141 | 136 | # retrieves all articles belonging to the given +profile+ that are not |
| 142 | 137 | # sub-articles of any other article. |
| 143 | 138 | named_scope :top_level_for, lambda { |profile| | ... | ... |