mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-03-05 00:10:54 -08:00
Add support for numeric-based URIs for local accounts (#32724)
This commit is contained in:
parent
4d7c208da3
commit
150f0fcba5
20 changed files with 324 additions and 52 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue