Commit fb424b3d authored by James Lopez's avatar James Lopez

rename events hash

parent 7ac7cfeb
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment