From 7b44f08dd54e3713cbe794328ece2ba03ac9f506 Mon Sep 17 00:00:00 2001 From: Lee Lawlor Date: Tue, 5 Aug 2014 01:48:09 -0400 Subject: [PATCH] allow timezone parameter to be used in charts --- app/controllers/charts_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/charts_controller.rb b/app/controllers/charts_controller.rb index 1ab8169..b1253a7 100644 --- a/app/controllers/charts_controller.rb +++ b/app/controllers/charts_controller.rb @@ -38,7 +38,7 @@ class ChartsController < ApplicationController def show # allow these parameters when creating feed querystring - feed_params = ['key', 'api_key', 'apikey', 'days','start','end','round','timescale','average','median','sum','results','location','status'] + feed_params = ['key', 'api_key', 'apikey', 'days','start','end','round','timescale','average','median','sum','results','location','status','timezone'] # set chart size width = params[:width].present? ? params[:width] : Chart.default_width