lower tag change limit to 50

This commit is contained in:
ToksT
2013-03-31 17:51:31 -03:00
parent b751aaf7cf
commit 2894c098dc

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? || tag.post_count <= 100)
if category_id != tag.category && (CurrentUser.is_builder? || tag.post_count <= 50)
tag.update_column(:category, category_id)
tag.update_category_cache_for_all
end