Extract api/v1/statuses#context to standalone controller (#38348)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user