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:
parent
bb23116e8d
commit
d24a87ce4f
3 changed files with 142 additions and 0 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue