summaryrefslogtreecommitdiff
path: root/app/controllers/projects/cycle_analytics/events_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/projects/cycle_analytics/events_controller.rb')
-rw-r--r--app/controllers/projects/cycle_analytics/events_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/projects/cycle_analytics/events_controller.rb b/app/controllers/projects/cycle_analytics/events_controller.rb
index c69bf029c73..3a5dd23047c 100644
--- a/app/controllers/projects/cycle_analytics/events_controller.rb
+++ b/app/controllers/projects/cycle_analytics/events_controller.rb
@@ -11,6 +11,8 @@ module Projects
before_action :authorize_read_issue!, only: [:issue, :production]
before_action :authorize_read_merge_request!, only: [:code, :review]
+ feature_category :planning_analytics
+
def issue
render_events(cycle_analytics[:issue].events)
end