feat: Render contact custom attributes in contact/conversation sidebar (#3310)

This commit is contained in:
Muhsin Keloth
2021-11-11 15:23:33 +05:30
committed by GitHub
parent e12edb51a2
commit 76370267f3
33 changed files with 416 additions and 124 deletions

View File

@@ -88,6 +88,7 @@ Rails.application.routes.draw do
end
member do
get :contactable_inboxes
post :destroy_custom_attributes
end
scope module: :contacts do
resources :conversations, only: [:index]
@@ -183,7 +184,11 @@ Rails.application.routes.draw do
post :transcript
end
end
resource :contact, only: [:show, :update]
resource :contact, only: [:show, :update] do
collection do
delete :destroy_custom_attributes
end
end
resources :inbox_members, only: [:index]
resources :labels, only: [:create, :destroy]
end