From 3a86a2588c749943f30f1aa24f6dfa0e4b67645e Mon Sep 17 00:00:00 2001 From: Arpit Jalan Date: Tue, 10 Apr 2018 13:01:03 +0530 Subject: [PATCH] FIX: bulk append/replace tags was not working --- app/controllers/topics_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/topics_controller.rb b/app/controllers/topics_controller.rb index db5ab9ae356..c9e551ebbfd 100644 --- a/app/controllers/topics_controller.rb +++ b/app/controllers/topics_controller.rb @@ -670,7 +670,7 @@ class TopicsController < ApplicationController operation = params .require(:operation) - .permit(:type, :group, :category_id, :notification_level_id, :tags) + .permit(:type, :group, :category_id, :notification_level_id, tags: []) .to_h.symbolize_keys raise ActionController::ParameterMissing.new(:operation_type) if operation[:type].blank?