allow timezone parameter to be used in charts

This commit is contained in:
Lee Lawlor 2014-08-05 01:48:09 -04:00
parent 5541d4f261
commit 7b44f08dd5

View File

@ -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