Change ActivityPub path generation to all happen in ActivityPub::TagManager (#33527)
This commit is contained in:
@@ -41,12 +41,8 @@ class ActivityPub::OutboxesController < ActivityPub::BaseController
|
||||
end
|
||||
end
|
||||
|
||||
def outbox_url(**)
|
||||
if params[:account_username].present?
|
||||
account_outbox_url(@account, **)
|
||||
else
|
||||
instance_actor_outbox_url(**)
|
||||
end
|
||||
def outbox_url(...)
|
||||
ActivityPub::TagManager.instance.outbox_uri_for(@account, ...)
|
||||
end
|
||||
|
||||
def next_page
|
||||
|
||||
Reference in New Issue
Block a user