chore: Add Additional Contact APIs (#1130)

Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
This commit is contained in:
Sojan Jose
2020-08-10 12:15:29 +05:30
committed by GitHub
parent ec3c2ed4bb
commit a6a62d92bf
11 changed files with 129 additions and 3 deletions

View File

@@ -61,8 +61,12 @@ Rails.application.routes.draw do
end
resources :contacts, only: [:index, :show, :update, :create] do
collection do
get :search
end
scope module: :contacts do
resources :conversations, only: [:index]
resources :contact_inboxes, only: [:create]
end
end