[Internal] Add route for widget testing (#199)
This commit is contained in:
13
app/controllers/widget_tests_controller.rb
Normal file
13
app/controllers/widget_tests_controller.rb
Normal 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
|
||||
Reference in New Issue
Block a user