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:
Sojan Jose
2021-07-21 01:26:32 +05:30
committed by GitHub
parent caf8669db5
commit a0886d37bc
8 changed files with 142 additions and 12 deletions

View File

@@ -4,10 +4,4 @@ class Api::V1::Widget::InboxMembersController < Api::V1::Widget::BaseController
def index
@inbox_members = @web_widget.inbox.inbox_members.includes(:user)
end
private
def permitted_params
params.permit(:website_token)
end
end