diff --git a/app/controllers/tags_controller.rb b/app/controllers/tags_controller.rb index 3a5c50838..e62e17776 100644 --- a/app/controllers/tags_controller.rb +++ b/app/controllers/tags_controller.rb @@ -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