filename fixed
This commit is contained in:
parent
12c0d83f60
commit
0f541712aa
|
@ -39,7 +39,7 @@ class Admin::PatentsController < OrbitMemberController
|
||||||
@data = get_data_for_excel(year_start,year_end)
|
@data = get_data_for_excel(year_start,year_end)
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
format.xlsx {
|
format.xlsx {
|
||||||
response.headers['Content-Disposition'] = 'attachment; filename="projects.xlsx"'
|
response.headers['Content-Disposition'] = 'attachment; filename="patents.xlsx"'
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue