0
0
Fork 0

Drop support for ruby 3.1 (#32363)

This commit is contained in:
Matt Jankowski 2024-10-31 11:12:08 -04:00 committed by GitHub
parent a20ac20302
commit b231c3c1bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 38 additions and 43 deletions

View file

@ -41,11 +41,11 @@ class ActivityPub::OutboxesController < ActivityPub::BaseController
end
end
def outbox_url(**kwargs)
def outbox_url(**)
if params[:account_username].present?
account_outbox_url(@account, **kwargs)
account_outbox_url(@account, **)
else
instance_actor_outbox_url(**kwargs)
instance_actor_outbox_url(**)
end
end