Add API to delete media attachments that are not in use (#33991)
This commit is contained in:
parent
e71fb450e0
commit
4960193ed0
3 changed files with 69 additions and 3 deletions
|
@ -77,7 +77,7 @@ namespace :api, format: false do
|
|||
end
|
||||
end
|
||||
|
||||
resources :media, only: [:create, :update, :show]
|
||||
resources :media, only: [:create, :update, :show, :destroy]
|
||||
resources :blocks, only: [:index]
|
||||
resources :mutes, only: [:index]
|
||||
resources :favourites, only: [:index]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue