This commit is contained in:
Toks
2013-03-31 08:20:05 -04:00
parent fc1887165a
commit 850690596f

View File

@@ -139,7 +139,7 @@ class Tag < ActiveRecord::Base
if category
category_id = categories.value_for(category)
if category_id != tag.category && CurrentUser.is_builder?
if category_id != tag.category && (CurrentUser.is_builder? || tag.post_count <= 100 )
tag.update_column(:category, category_id)
tag.update_category_cache_for_all
end