We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbf8251 commit 76a7352Copy full SHA for 76a7352
app/controllers/community_custom_fields/custom_fields_controller.rb
@@ -10,6 +10,7 @@ def update
10
topic = Topic.find(params[:topic_id])
11
topic.custom_fields.merge!(custom_fields_params)
12
if topic.save_custom_fields
13
+ topic.touch
14
render json: success_json
15
else
16
Rails.logger.error("Failed to save custom fields for topic #{topic.id}: #{topic.errors.full_messages}")
0 commit comments