filename fixed

This commit is contained in:
Harry Bomrah 2016-06-06 17:40:43 +08:00
parent 12c0d83f60
commit 0f541712aa
1 changed files with 1 additions and 1 deletions

View File

@ -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