From fe263544a3ce9edbdc226f5fc4684263965f13de Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Mon, 6 Jun 2016 17:37:04 +0800 Subject: [PATCH] filename fixed --- app/controllers/admin/honors_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/honors_controller.rb b/app/controllers/admin/honors_controller.rb index 30b2431..54322c1 100644 --- a/app/controllers/admin/honors_controller.rb +++ b/app/controllers/admin/honors_controller.rb @@ -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