adds touch to debates on tag destroy
This commit is contained in:
@@ -1 +1,8 @@
|
||||
ActsAsTaggableOn::Tagging.class_eval do
|
||||
after_destroy :touch_taggable
|
||||
|
||||
def touch_taggable
|
||||
taggable.touch
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user