app/controllers/static_page_controller.rb
def widget_page
    @widget = WidgetService.widget(params[:widget_id])
    @title = @widget.name
    @description = @widget.description

    render :widget_page, layout: 'standalone'
  end
# Gets the html empty page of a widget
# GET widget_page
Gets the html empty page of a widget
GET widget_page
Gets the html empty page of a widget GET widget_page
def widget_page
    @widget = WidgetService.widget(params[:widget_id])
    @title = @widget.name
    @description = @widget.description
    render :widget_page, layout: 'standalone'
  end
def widget_page @widget = WidgetService . widget ( params [ :widget_id ] ) @title = @widget . name @description = @widget . description render :widget_page , layout : 'standalone' end
Gets the html empty page of a widget
GET widget_page
Gets the html empty page of a widget GET widget_page