mirror of
https://github.com/discourse/discourse.git
synced 2025-02-08 04:18:23 +00:00
FIX: bulk append/replace tags was not working
This commit is contained in:
parent
45f657336e
commit
3a86a2588c
@ -670,7 +670,7 @@ class TopicsController < ApplicationController
|
|||||||
|
|
||||||
operation = params
|
operation = params
|
||||||
.require(:operation)
|
.require(:operation)
|
||||||
.permit(:type, :group, :category_id, :notification_level_id, :tags)
|
.permit(:type, :group, :category_id, :notification_level_id, tags: [])
|
||||||
.to_h.symbolize_keys
|
.to_h.symbolize_keys
|
||||||
|
|
||||||
raise ActionController::ParameterMissing.new(:operation_type) if operation[:type].blank?
|
raise ActionController::ParameterMissing.new(:operation_type) if operation[:type].blank?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user