filename fixed
This commit is contained in:
parent
19837e7ca7
commit
99e3c7c295
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue