summaryrefslogtreecommitdiff
path: root/app/controllers/projects/cycle_analytics
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-11-07 15:50:41 +0100
committerJames Lopez <james@jameslopez.es>2016-11-17 08:22:58 +0100
commitfb424b3d514ac096a78b2c5fabc2ddcb10117c73 (patch)
treeb1b2914bbfe28c037df6aabbb133924a2bae27e8 /app/controllers/projects/cycle_analytics
parent7ac7cfeb75242c4e3c5ec967425aaf598f879033 (diff)
downloadgitlab-ce-fb424b3d514ac096a78b2c5fabc2ddcb10117c73.tar.gz
rename events hash
Diffstat (limited to 'app/controllers/projects/cycle_analytics')
-rw-r--r--app/controllers/projects/cycle_analytics/events_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/cycle_analytics/events_controller.rb b/app/controllers/projects/cycle_analytics/events_controller.rb
index 5ef1f911fc5..bb9f93908ad 100644
--- a/app/controllers/projects/cycle_analytics/events_controller.rb
+++ b/app/controllers/projects/cycle_analytics/events_controller.rb
@@ -38,7 +38,7 @@ class Projects::CycleAnalytics::EventsController < Projects::ApplicationControll
def render_events(events)
respond_to do |format|
format.html
- format.json { render json: { items: events } }
+ format.json { render json: { events: events } }
end
end