diff options
author | James Lopez <james@jameslopez.es> | 2016-11-23 11:28:28 +0100 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2017-01-17 11:32:55 +0100 |
commit | a67311cb4c9f54af43d300fde5240f9a370193d1 (patch) | |
tree | 14b82a6181b6cd7a148eeda9d2e50002c798dd8e /app/controllers/concerns/cycle_analytics_params.rb | |
parent | 02e1e4819234662faddd7d8eb5c54d9bfdf9e7e6 (diff) | |
download | gitlab-ce-a67311cb4c9f54af43d300fde5240f9a370193d1.tar.gz |
Fix other spec failures
Diffstat (limited to 'app/controllers/concerns/cycle_analytics_params.rb')
-rw-r--r-- | app/controllers/concerns/cycle_analytics_params.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/concerns/cycle_analytics_params.rb b/app/controllers/concerns/cycle_analytics_params.rb index 91456561a17..52e06f4945a 100644 --- a/app/controllers/concerns/cycle_analytics_params.rb +++ b/app/controllers/concerns/cycle_analytics_params.rb @@ -1,8 +1,8 @@ module CycleAnalyticsParams extend ActiveSupport::Concern - def options - @options ||= { from: start_date(events_params), current_user: current_user } + def options(params) + @options ||= { from: start_date(params), current_user: current_user } end def start_date(params) |