Fixed typo in app

This commit is contained in:
Hiroshi SHIBATA 2020-10-28 09:10:03 +09:00
parent 6e6a6dcd39
commit ab92975803
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2
5 changed files with 5 additions and 5 deletions

View file

@ -15,7 +15,7 @@ module Admin
respond_to do |format|
format.html
# Explicity call #to_json to avoid the use of EventSerializer
# Explicitly call #to_json to avoid the use of EventSerializer
format.json { render json: Track.where(state: :confirmed, program: @program).to_json }
format.xlsx do
response.headers['Content-Disposition'] = "attachment; filename=\"#{@file_name}.xlsx\""