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-11-17 20:00:37 +0300
committerJames Lopez <james@jameslopez.es>2016-11-17 20:00:37 +0300
commitd5b673da79c7c350090dc9982a9a2477fac56eb5 (patch)
tree8ed8c21acc48e8ca62c6367f4c6f35a9fce04a2f /app/controllers/projects/cycle_analytics
parent9c995725ea6eb8d97f4b7dfbd129e3530b9b1235 (diff)
more refactoring and added some auth checks
Diffstat (limited to 'app/controllers/projects/cycle_analytics')
-rw-r--r--app/controllers/projects/cycle_analytics/events_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/cycle_analytics/events_controller.rb b/app/controllers/projects/cycle_analytics/events_controller.rb
index 7b6214d71b5..8c2fb98a120 100644
--- a/app/controllers/projects/cycle_analytics/events_controller.rb
+++ b/app/controllers/projects/cycle_analytics/events_controller.rb
@@ -50,7 +50,7 @@ module Projects
end
def options
- @options ||= { from: start_date(events_params) }
+ @options ||= { from: start_date(events_params), current_user: current_user }
end
def events_params