This commit is contained in:
albert
2013-03-25 22:45:12 -04:00
parent 47305e71aa
commit c66419fb74

View File

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