Merge pull request #3454 from evazion/fix-3448

Fix #3448: Lower the limit for tag category changes
This commit is contained in:
Albert Yi
2017-12-25 13:20:45 -08:00
committed by GitHub
6 changed files with 33 additions and 12 deletions

View File

@@ -36,7 +36,6 @@ class TagsController < ApplicationController
@tag = Tag.find(params[:id])
check_privilege(@tag)
@tag.update_attributes(params[:tag], :as => CurrentUser.role)
@tag.update_category_cache_for_all
respond_with(@tag)
end