From 0f8cfad7d287ca54931909d66b4c871047907b1f Mon Sep 17 00:00:00 2001 From: Daniela Soares Feitosa Date: Tue, 28 Feb 2012 12:17:54 -0300 Subject: [PATCH] After updating an article, the activity is not "touched" --- app/models/article.rb | 5 ----- 1 file changed, 0 insertions(+), 5 deletions(-) diff --git a/app/models/article.rb b/app/models/article.rb index 921d238..1365f4a 100644 --- a/app/models/article.rb +++ b/app/models/article.rb @@ -133,11 +133,6 @@ class Article < ActiveRecord::Base article.advertise = true end - after_update :update_creation_activity - def update_creation_activity - self.activity.touch if self.activity - end - # retrieves all articles belonging to the given +profile+ that are not # sub-articles of any other article. named_scope :top_level_for, lambda { |profile| -- libgit2 0.21.2