summaryrefslogtreecommitdiff
path: root/app/controllers/projects/cycle_analytics_controller.rb
diff options
context:
space:
mode:
authorTimothy Andrew <mail@timothyandrew.net>2016-08-26 15:45:00 +0530
committerTimothy Andrew <mail@timothyandrew.net>2016-08-26 16:28:20 +0530
commitdf6c9c33b69e411d4f7d27cc46e9769a07d12285 (patch)
tree0a6e0a20a2371c0462371001542a34a9c9d00537 /app/controllers/projects/cycle_analytics_controller.rb
parenta81de9ab4fc3c3720449069e91ee2431fd9eb024 (diff)
downloadgitlab-ce-df6c9c33b69e411d4f7d27cc46e9769a07d12285.tar.gz
Scope Cycle Analytics queries to a project
Diffstat (limited to 'app/controllers/projects/cycle_analytics_controller.rb')
-rw-r--r--app/controllers/projects/cycle_analytics_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/cycle_analytics_controller.rb b/app/controllers/projects/cycle_analytics_controller.rb
index 9dab7bfa380..85c81cba511 100644
--- a/app/controllers/projects/cycle_analytics_controller.rb
+++ b/app/controllers/projects/cycle_analytics_controller.rb
@@ -1,5 +1,5 @@
class Projects::CycleAnalyticsController < Projects::ApplicationController
def show
- @cycle_analytics = CycleAnalytics.new
+ @cycle_analytics = CycleAnalytics.new(@project)
end
end