FIX: could not remove tags from a category

This commit is contained in:
Neil Lalonde 2016-05-31 16:46:40 -04:00
parent a6aab00663
commit 2c78bea5a0
1 changed files with 2 additions and 0 deletions

View File

@ -180,6 +180,8 @@ class CategoriesController < ApplicationController
end end
end end
params[:allowed_tags] ||= [] if SiteSetting.tagging_enabled
params.permit(*required_param_keys, params.permit(*required_param_keys,
:position, :position,
:email_in, :email_in,