Logging info for stats.xls, removing foundation.

This commit is contained in:
Godwin
2015-09-16 16:58:28 -07:00
parent d34f26c4d0
commit 43e4d31aec
29 changed files with 59 additions and 62 deletions
+3 -1
View File
@@ -427,7 +427,7 @@ class ConferencesController < ApplicationController
@other = []
if request.format.xls?
#I18n.backend.init_page(request, params)
logger.info "Generating stats.xls"
@excel_data = {
:columns => [:name, :email, :city, :date, :languages, :arrival, :departure, :housing, :bike, :food, :allergies, :other, :fees_paid],
:key => 'articles.conference_registration.headings',
@@ -495,6 +495,8 @@ class ConferencesController < ApplicationController
return
end
logger.info "Rendering stats.xls" if request.format.xls?
respond_to do |format|
format.html
format.text { render :text => content }