0
0
Fork 0

Add ability to delete avatar or header picture via the API (#25124)

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Daniel M Brasil 2023-08-21 03:44:35 -03:00 committed by GitHub
parent bb23116e8d
commit d24a87ce4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 142 additions and 0 deletions

View file

@ -95,6 +95,7 @@ namespace :api, format: false do
resources :filters, only: [:index, :create, :show, :update, :destroy]
resources :endorsements, only: [:index]
resources :markers, only: [:index, :create]
resources :profile, only: :destroy, param: :image, controller: 'profiles'
namespace :apps do
get :verify_credentials, to: 'credentials#show'