diff options
author | James Lopez <james@jameslopez.es> | 2016-11-17 20:00:37 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-11-17 20:00:37 +0300 |
commit | d5b673da79c7c350090dc9982a9a2477fac56eb5 (patch) | |
tree | 8ed8c21acc48e8ca62c6367f4c6f35a9fce04a2f /app/controllers | |
parent | 9c995725ea6eb8d97f4b7dfbd129e3530b9b1235 (diff) |
more refactoring and added some auth checks
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/projects/cycle_analytics/events_controller.rb | 2 |
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 |