diff --git a/app/controllers/default_widget_controller.rb b/app/controllers/default_widget_controller.rb index 77887e8e..e4c80587 100644 --- a/app/controllers/default_widget_controller.rb +++ b/app/controllers/default_widget_controller.rb @@ -14,8 +14,6 @@ class DefaultWidgetController< OrbitWidgetController @data = eval(@default_widget[:query]).limit(data_limit).includes(@widget_image_field) @fields = @page_part.widget_field -# binding.pry - case params[:type] when "typeA" @tag_class = 'defulat_widget_typeA' @@ -27,8 +25,6 @@ class DefaultWidgetController< OrbitWidgetController @tag_class = 'defulat_widget_typeC' render "typeC" end - - # {"inner"=>"true", # "category_id"=>"false", @@ -41,5 +37,4 @@ class DefaultWidgetController< OrbitWidgetController # "action"=>"default_widget", # "type"=>"typeA"} end - end diff --git a/app/views/default_widget/typeA.html.erb b/app/views/default_widget/typeA.html.erb index 22422516..b26bd3bc 100644 --- a/app/views/default_widget/typeA.html.erb +++ b/app/views/default_widget/typeA.html.erb @@ -11,7 +11,11 @@ <% @data.each do |row_data| %>