feat: Ability to update avatars from super admin (#7264)
- Ability to update user avatars from super admin - Ability to update bot avatars from super admin fixes: #7060
This commit is contained in:
@@ -399,10 +399,15 @@ Rails.application.routes.draw do
|
||||
post :seed, on: :member
|
||||
post :reset_cache, on: :member
|
||||
end
|
||||
resources :users, only: [:index, :new, :create, :show, :edit, :update, :destroy]
|
||||
resources :users, only: [:index, :new, :create, :show, :edit, :update, :destroy] do
|
||||
delete :avatar, on: :member, action: :destroy_avatar
|
||||
end
|
||||
|
||||
resources :access_tokens, only: [:index, :show]
|
||||
resources :installation_configs, only: [:index, :new, :create, :show, :edit, :update]
|
||||
resources :agent_bots, only: [:index, :new, :create, :show, :edit, :update]
|
||||
resources :agent_bots, only: [:index, :new, :create, :show, :edit, :update] do
|
||||
delete :avatar, on: :member, action: :destroy_avatar
|
||||
end
|
||||
resources :platform_apps, only: [:index, :new, :create, :show, :edit, :update]
|
||||
resource :instance_status, only: [:show]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user