mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-27 21:26:41 +00:00
Merge commit '4af8e83c8a236265c46a1b984fa5dbd3a7c73dfe' into glitch-soc/merge-upstream
This commit is contained in:
@@ -12,7 +12,9 @@ namespace :api, format: false do
|
||||
|
||||
resources :async_refreshes, only: :show
|
||||
|
||||
resources :collections, only: [:show, :create, :update, :destroy]
|
||||
resources :collections, only: [:show, :create, :update, :destroy] do
|
||||
resources :items, only: [:create], controller: 'collection_items'
|
||||
end
|
||||
end
|
||||
|
||||
# JSON / REST API
|
||||
|
||||
Reference in New Issue
Block a user