mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-02 03:57:52 +00:00
chore: Expose widget config via an API (#2645)
Expose widget config via an API so that the UI could be detached from the rails Application.
This commit is contained in:
@@ -152,6 +152,7 @@ Rails.application.routes.draw do
|
||||
resource :notification_subscriptions, only: [:create]
|
||||
|
||||
namespace :widget do
|
||||
resource :config, only: [:create]
|
||||
resources :campaigns, only: [:index]
|
||||
resources :events, only: [:create]
|
||||
resources :messages, only: [:index, :create, :update]
|
||||
|
||||
Reference in New Issue
Block a user