删除帖子也要更新动态

This commit is contained in:
guange 2015-06-19 14:49:18 +08:00
parent 4aeac1bd64
commit 489f62edb7
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ module Trustie
def self.included(base)
base.class_eval{
after_create :clear_course_events
after_destroy :clear_course_events
}
end