filename fixed

This commit is contained in:
Harry Bomrah 2016-06-06 17:39:42 +08:00
parent 19837e7ca7
commit 99e3c7c295
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class Admin::BooksController < OrbitMemberController
@data = get_data_for_excel(year_start,year_end)
respond_to do |format|
format.xlsx {
response.headers['Content-Disposition'] = 'attachment; filename="conference_papers.xlsx"'
response.headers['Content-Disposition'] = 'attachment; filename="books.xlsx"'
}
end
end