fixes #1228
This commit is contained in:
@@ -124,6 +124,7 @@ class TagAlias < ActiveRecord::Base
|
|||||||
def ensure_category_consistency
|
def ensure_category_consistency
|
||||||
if antecedent_tag.category != consequent_tag.category
|
if antecedent_tag.category != consequent_tag.category
|
||||||
consequent_tag.update_attribute(:category, antecedent_tag.category)
|
consequent_tag.update_attribute(:category, antecedent_tag.category)
|
||||||
|
consequent_tag.update_category_cache_for_all
|
||||||
end
|
end
|
||||||
|
|
||||||
true
|
true
|
||||||
|
|||||||
Reference in New Issue
Block a user