Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-12-01 15:28:24 +0300
committerJames Lopez <james@jameslopez.es>2017-01-17 13:32:55 +0300
commit58dddcdfed6212046447de8b6d304ffd463d0350 (patch)
tree9615debf7e9d15b346abad7cdbb9e98b435500ed /app/models/cycle_analytics.rb
parent69ecd951a9e0acbc31f0a4b9b02e8a1981ceff1e (diff)
few fixes after merge
Diffstat (limited to 'app/models/cycle_analytics.rb')
-rw-r--r--app/models/cycle_analytics.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/models/cycle_analytics.rb b/app/models/cycle_analytics.rb
index c6862c9733d..57082ae6087 100644
--- a/app/models/cycle_analytics.rb
+++ b/app/models/cycle_analytics.rb
@@ -7,7 +7,9 @@ class CycleAnalytics
end
def summary
- @summary ||= ::Gitlab::CycleAnalytics::StageSummary.new(@project, from: @options[:from]).data
+ @summary ||= ::Gitlab::CycleAnalytics::StageSummary.new(@project,
+ from: @options[:from],
+ current_user: @options[:current_user]).data
end
def stats