mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 23:36:11 +08:00
DEV: Block accidental serialization of entire AR models (#27668)
This commit is contained in:
@ -140,7 +140,7 @@ class TopicsController < ApplicationController
|
||||
custom_message_params: {
|
||||
group: group.name,
|
||||
},
|
||||
group: group,
|
||||
group: serialize_data(group, BasicGroupSerializer, root: false),
|
||||
)
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user