[Internal] Add route for widget testing (#199)

This commit is contained in:
Pranav Raj S
2019-11-01 12:53:01 +05:30
committed by Sojan Jose
parent f3fc542a5f
commit 5cc3543657
7 changed files with 58 additions and 10 deletions

View File

@@ -0,0 +1,13 @@
class WidgetTestsController < ActionController::Base
before_action :set_web_widget
def index
render
end
private
def set_web_widget
@web_widget = Channel::WebWidget.first
end
end