From 786170576da89839e93c78d048db3cbec53f91b7 Mon Sep 17 00:00:00 2001 From: r888888888 Date: Thu, 20 Jun 2013 16:11:46 -0700 Subject: [PATCH] fixes #1782 --- app/controllers/tags_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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