fixes #1782
This commit is contained in:
@@ -28,7 +28,7 @@ class TagsController < ApplicationController
|
|||||||
def update
|
def update
|
||||||
@tag = Tag.find(params[:id])
|
@tag = Tag.find(params[:id])
|
||||||
check_privilege(@tag)
|
check_privilege(@tag)
|
||||||
@tag.update_attributes(params[:tag])
|
@tag.update_attributes(params[:tag], :as => CurrentUser.role)
|
||||||
@tag.update_category_cache_for_all
|
@tag.update_category_cache_for_all
|
||||||
respond_with(@tag)
|
respond_with(@tag)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user