allow timezone parameter to be used in charts
This commit is contained in:
parent
5541d4f261
commit
7b44f08dd5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user