mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 02:40:53 -06: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
|
||||
.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?
|
||||
|
Loading…
Reference in New Issue
Block a user