app/views/active_admin/resource/index.csv.erb in activeadmin-0.4.4 vs app/views/active_admin/resource/index.csv.erb in activeadmin-0.5.0.pre

- old
+ new

@@ -5,10 +5,10 @@ else require 'csv' CSV end - csv_output = csv_lib.generate do |csv| + csv_output = csv_lib.generate(:col_sep => active_admin_config.csv_builder.column_separator || active_admin_application.csv_column_separator) do |csv| columns = active_admin_config.csv_builder.columns csv << columns.map(&:name) collection.each do |resource| csv << columns.map do |column| call_method_or_proc_on resource, column.data