Chore: Web widget Inbox Tech Debts (#738)

* Chore: Webwidget Inbox Tech Debts

* Additional customization options creating Web Widget
* Changes to edit Page for Web Widget
* Remove the WebWidget API end points
* Minor chores

Address: #680, #502

Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
This commit is contained in:
Sojan Jose
2020-04-19 23:40:28 +05:30
committed by GitHub
parent c0ce70e87b
commit 941fbb0d72
46 changed files with 564 additions and 503 deletions

View File

@@ -66,7 +66,7 @@ Rails.application.routes.draw do
end
end
resources :inboxes, only: [:index, :destroy, :update] do
resources :inboxes, only: [:index, :create, :update, :destroy] do
post :set_agent_bot, on: :member
end
resources :inbox_members, only: [:create, :show], param: :inbox_id
@@ -97,9 +97,6 @@ Rails.application.routes.draw do
end
resources :webhooks, except: [:show]
namespace :widget do
resources :inboxes, only: [:create, :update]
end
end
# end of account scoped api routes