Added one more endpoint to attach tempfile and get logo (#6407)

This commit is contained in:
Tejaswini Chile
2023-02-09 14:05:45 +05:30
committed by GitHub
parent 0a7a5abec1
commit c5b245977a
8 changed files with 90 additions and 10 deletions

View File

@@ -177,8 +177,11 @@ Rails.application.routes.draw do
patch :archive
put :add_members
end
post :attach_file, on: :collection
resources :categories
resources :articles
resources :articles do
post :attach_file, on: :collection
end
end
end
end