From 0f541712aa8bb8c2b4ddaba220e1c571393377c1 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Mon, 6 Jun 2016 17:40:43 +0800 Subject: [PATCH] filename fixed --- app/controllers/admin/patents_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/patents_controller.rb b/app/controllers/admin/patents_controller.rb index 0edd23d..eb3b7f8 100644 --- a/app/controllers/admin/patents_controller.rb +++ b/app/controllers/admin/patents_controller.rb @@ -39,7 +39,7 @@ class Admin::PatentsController < 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="patents.xlsx"' } end end