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

@@ -1,3 +1,4 @@
# TODO : Delete this and associated spec once 'api/widget/config' end point is merged
class WidgetsController < ActionController::Base
before_action :set_global_config
before_action :set_web_widget