This commit is contained in:
r888888888
2013-06-20 16:11:46 -07:00
parent 6de808bd3b
commit 786170576d

View File

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