lib/controller/ext.rb in lipsiadmin-3.3.4 vs lib/controller/ext.rb in lipsiadmin-3.4.0
- old
+ new
@@ -69,10 +69,10 @@
if header.blank?
options[:hidden] = true
options[:query] = false
end
- # Reforma DataIndex
+ # Reformat DataIndex
if options[:dataIndex].is_a?(Array)
options[:dataIndex] = options[:dataIndex].collect do |f|
f.is_a?(Symbol) ? "#{@model.table_name}.#{f}" : f
end.join(",")
end
\ No newline at end of file