feat: Add API to get the active contacts (#1313)

This commit is contained in:
Sojan Jose
2020-10-05 23:30:27 +05:30
committed by GitHub
parent 11725de09a
commit 88b2469dc8
6 changed files with 57 additions and 2 deletions

View File

@@ -64,6 +64,7 @@ Rails.application.routes.draw do
resources :contacts, only: [:index, :show, :update, :create] do
collection do
get :active
get :search
end
scope module: :contacts do