FIX: bulk append/replace tags was not working

This commit is contained in:
Arpit Jalan 2018-04-10 13:01:03 +05:30
parent 45f657336e
commit 3a86a2588c

View File

@ -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?