From 23d688b97c876551b85fe92532ee200d0311c3e3 Mon Sep 17 00:00:00 2001 From: James Smith Date: Tue, 14 Jan 2025 14:48:03 +0000 Subject: [PATCH] use public ID as url param for comments --- app/models/comment.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/comment.rb b/app/models/comment.rb index 6698cebb7..910cb69a7 100644 --- a/app/models/comment.rb +++ b/app/models/comment.rb @@ -7,7 +7,7 @@ class Comment < ApplicationRecord belongs_to :commentable, polymorphic: true include Federails::DataEntity - acts_as_federails_data handles: "Note", actor_entity_method: :commenter + acts_as_federails_data handles: "Note", actor_entity_method: :commenter, url_param: :public_id def to_activitypub_object # Comments become Notes in ActvityPub