From 7e17e85edb626d210663e8e38f89436f66f7e4c0 Mon Sep 17 00:00:00 2001 From: Lee Lawlor Date: Wed, 18 Jun 2014 12:31:58 -0400 Subject: [PATCH] update docs for API keys --- app/controllers/charts_controller.rb | 2 +- app/views/docs/channels/_feed.html.erb | 6 +++--- app/views/docs/channels/_field.html.erb | 4 ++-- app/views/docs/channels/_status.html.erb | 2 +- app/views/docs/charts.html.erb | 2 +- app/views/docs/index.html.erb | 4 +++- 6 files changed, 11 insertions(+), 9 deletions(-) diff --git a/app/controllers/charts_controller.rb b/app/controllers/charts_controller.rb index 4794a13..4bf7faf 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','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'] # set chart size width = params[:width].present? ? params[:width] : Chart.default_width diff --git a/app/views/docs/channels/_feed.html.erb b/app/views/docs/channels/_feed.html.erb index a89ce2c..c45bf5c 100644 --- a/app/views/docs/channels/_feed.html.erb +++ b/app/views/docs/channels/_feed.html.erb @@ -10,7 +10,7 @@ replacing CHANNEL_ID with the ID of your Channel

Valid parameters: