Fix error and incorrect URLs in /api/v1/accounts/:id/featured_tags
for remote accounts (#27459)
This commit is contained in:
parent
8f998cd96a
commit
bbf46cc418
4 changed files with 54 additions and 25 deletions
|
@ -134,7 +134,7 @@ Rails.application.routes.draw do
|
|||
get '/@:account_username/:id/embed', to: 'statuses#embed', as: :embed_short_account_status
|
||||
end
|
||||
|
||||
get '/@:username_with_domain/(*any)', to: 'home#index', constraints: { username_with_domain: %r{([^/])+?} }, format: false
|
||||
get '/@:username_with_domain/(*any)', to: 'home#index', constraints: { username_with_domain: %r{([^/])+?} }, as: :account_with_domain, format: false
|
||||
get '/settings', to: redirect('/settings/profile')
|
||||
|
||||
draw(:settings)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue