Extract api/v1/statuses#context to standalone controller (#38348)

This commit is contained in:
Matt Jankowski
2026-05-19 07:15:35 +00:00
committed by GitHub
parent c3afdb760c
commit 5f33cf0b0a
5 changed files with 160 additions and 116 deletions
+1 -4
View File
@@ -29,6 +29,7 @@ namespace :api, format: false do
resources :reblogged_by, controller: :reblogged_by_accounts, only: :index
resources :favourited_by, controller: :favourited_by_accounts, only: :index
resource :reblog, only: :create
resource :context, only: :show
post :unreblog, to: 'reblogs#destroy'
resources :quotes, only: :index do
@@ -56,10 +57,6 @@ namespace :api, format: false do
post :translate, to: 'translations#create'
end
member do
get :context
end
end
namespace :timelines do