fix ruby version not support ** operation

openi_sso
p31729568 6 years ago
parent 372db525bd
commit 44dadbc173

@ -5515,7 +5515,7 @@ challengeProgramNames=(CHALLENGEPROGRAMNAMES)"
end end
end end
def sort_tag(content, **opts) def sort_tag(content, opts)
options = {} options = {}
options[:sort_by] = opts.delete(:name) options[:sort_by] = opts.delete(:name)
is_current_sort = params[:sort_by].to_s == options[:sort_by] is_current_sort = params[:sort_by].to_s == options[:sort_by]

Loading…
Cancel
Save