This commit is contained in:
albert
2013-04-08 14:22:38 -04:00
parent 5ae1f8a634
commit a3d2802990

View File

@@ -124,6 +124,7 @@ class TagAlias < ActiveRecord::Base
def ensure_category_consistency
if antecedent_tag.category != consequent_tag.category
consequent_tag.update_attribute(:category, antecedent_tag.category)
consequent_tag.update_category_cache_for_all
end
true