diff --git a/app/views/admin/projects/download_excel.xlsx.axlsx b/app/views/admin/projects/download_excel.xlsx.axlsx index 8af1d58..434100b 100644 --- a/app/views/admin/projects/download_excel.xlsx.axlsx +++ b/app/views/admin/projects/download_excel.xlsx.axlsx @@ -62,7 +62,7 @@ wb = xlsx_package.workbook row << proj.year row << proj.language - row << (proj.project_types.map{|jl| jl.title}.join(", ") rescue "") + row << (proj.project_type.title rescue "") row << proj.start_date.strftime("%Y-%m-%d") rescue "" row << proj.end_date.strftime("%Y-%m-%d") rescue "" row << proj.url