diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-11-18 22:32:06 +0300 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-11-21 21:57:10 +0300 |
commit | 9219d1b38061f50c3096f5a12c5cc7220da989cb (patch) | |
tree | 65d4e93c95a2f3fec4e8a9007d486bebfa8f6225 /app/assets/javascripts/cycle_analytics | |
parent | a7b00890b6a36a1cd60db81cc65cf294a8318e3e (diff) |
Use correct endpoint for stage events
Diffstat (limited to 'app/assets/javascripts/cycle_analytics')
-rw-r--r-- | app/assets/javascripts/cycle_analytics/cycle_analytics_service.js.es6 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/cycle_analytics/cycle_analytics_service.js.es6 b/app/assets/javascripts/cycle_analytics/cycle_analytics_service.js.es6 index 788bd14028c..06299bc8988 100644 --- a/app/assets/javascripts/cycle_analytics/cycle_analytics_service.js.es6 +++ b/app/assets/javascripts/cycle_analytics/cycle_analytics_service.js.es6 @@ -28,7 +28,7 @@ startDate, } = options; - return $.get(`http://localhost:8000/${stage.title.toLowerCase()}.json`, { + return $.get(`${this.requestPath}/events/${stage.title.toLowerCase()}.json`, { cycle_analytics: { start_date: options.startDate } |