diff options
author | James Lopez <james@jameslopez.es> | 2016-12-02 19:09:29 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2017-01-17 13:32:55 +0300 |
commit | b214be493d9f179d4a929ee32d94a336da7b38f1 (patch) | |
tree | f669ed4d895e4e97cb050e22e210fe90cb57ba0d /app | |
parent | daa4f3ded718f4144877b7f0402bd495151c28de (diff) |
big refactor based on MR feedback
Diffstat (limited to 'app')
-rw-r--r-- | app/models/cycle_analytics.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/cycle_analytics.rb b/app/models/cycle_analytics.rb index 57082ae6087..78aebd828d7 100644 --- a/app/models/cycle_analytics.rb +++ b/app/models/cycle_analytics.rb @@ -32,7 +32,7 @@ class CycleAnalytics def stats_per_stage STAGES.map do |stage_name| - Gitlab::CycleAnalytics::Stage[stage_name].new(project: @project, options: @options).median_data + self[stage_name].new(project: @project, options: @options).median_data end end end |