Add support for numeric-based URIs for local accounts (#32724)

This commit is contained in:
Claire 2025-09-29 14:05:48 +02:00 committed by GitHub
parent 4d7c208da3
commit 150f0fcba5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 324 additions and 52 deletions

View file

@ -71,6 +71,10 @@ class AccountsController < ApplicationController
params[:username]
end
def account_id_param
params[:id]
end
def skip_temporary_suspension_response?
request.format == :json
end