feat: Generate SSO URL in Chatwoot, move Captain to primary tab (#9871)
- Generate SSO URL in Chatwoot, move Captain to the primary tab Co-authored-by: Pranav <pranavrajs@gmail.com>
This commit is contained in:
@@ -217,3 +217,14 @@
|
||||
locked: false
|
||||
description: 'Contents on your firebase credentials json file'
|
||||
## ------ End of Configs added for FCM v1 notifications ------ ##
|
||||
|
||||
## ----- Captain Configs ----- ##
|
||||
- name: CAPTAIN_API_URL
|
||||
value:
|
||||
display_title: 'Captain API URL'
|
||||
description: 'The API URL for Captain'
|
||||
- name: CAPTAIN_APP_URL
|
||||
value:
|
||||
display_title: 'Captain App URL'
|
||||
description: 'The App URL for Captain'
|
||||
## ----- End of Captain Configs ----- ##
|
||||
|
||||
@@ -216,6 +216,11 @@ Rails.application.routes.draw do
|
||||
resources :webhooks, only: [:index, :create, :update, :destroy]
|
||||
namespace :integrations do
|
||||
resources :apps, only: [:index, :show]
|
||||
resource :captain, controller: 'captain', only: [] do
|
||||
collection do
|
||||
get :sso_url
|
||||
end
|
||||
end
|
||||
resources :hooks, only: [:show, :create, :update, :destroy] do
|
||||
member do
|
||||
post :process_event
|
||||
|
||||
Reference in New Issue
Block a user