forked from saurabh/personal-honor
filename fixed
This commit is contained in:
parent
d604cf2a9c
commit
fe263544a3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue