remove puts

This commit is contained in:
chiu 2020-01-21 21:56:26 +08:00
parent b1ddeaa02f
commit 833bfa9eb5
1 changed files with 0 additions and 1 deletions

View File

@ -68,7 +68,6 @@ class SiteMenuWidgetsController < ApplicationController
@show_options = orbit_widget.show_options rescue nil
end
subpart.select_options.each do |select_option|
puts ['show',@show_options]
if !(@show_options.nil?) && select_option.field_name == @show_options.keys.first.to_s
value = YAML.load(select_option.value)
if value[I18n.locale] == t('site_menu.yes')