removed restraints on editing tag category, implemented tag/edit

This commit is contained in:
albert
2011-09-14 12:40:29 -04:00
parent 662bc744c7
commit e578be0111
3 changed files with 11 additions and 2 deletions

View File

@@ -87,7 +87,7 @@ class Tag < ActiveRecord::Base
tag = find_by_name(name)
if tag
if category > 0 && !(options[:user] && !options[:user].is_privileged? && tag.post_count > 10)
if category > 0
tag.update_column(:category, category)
end