feat: New APIs for search (#6564)
- Adding new API endpoints for search - Migrations to add appropriate indexes
This commit is contained in:
@@ -96,6 +96,14 @@ Rails.application.routes.draw do
|
||||
end
|
||||
end
|
||||
|
||||
resources :search, only: [:index] do
|
||||
collection do
|
||||
get :conversations
|
||||
get :messages
|
||||
get :contacts
|
||||
end
|
||||
end
|
||||
|
||||
resources :contacts, only: [:index, :show, :update, :create, :destroy] do
|
||||
collection do
|
||||
get :active
|
||||
|
||||
Reference in New Issue
Block a user