filename fixed

This commit is contained in:
Harry Bomrah 2016-06-06 17:37:04 +08:00
parent d604cf2a9c
commit fe263544a3
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class Admin::HonorsController < OrbitMemberController
@data = get_data_for_excel(year_start,year_end)
respond_to do |format|
format.xlsx {
response.headers['Content-Disposition'] = 'attachment; filename="projects.xlsx"'
response.headers['Content-Disposition'] = 'attachment; filename="honors.xlsx"'
}
end
end