diff options
author | James Lopez <james@jameslopez.es> | 2016-11-22 14:29:25 +0100 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2017-01-17 11:32:54 +0100 |
commit | 02e1e4819234662faddd7d8eb5c54d9bfdf9e7e6 (patch) | |
tree | d789f920c5d3dd66f140c9dcfe774ac158623ca4 /app/controllers/projects/cycle_analytics | |
parent | 8639ea1b0315045c0e4a5ad8d6419903507850c3 (diff) | |
download | gitlab-ce-02e1e4819234662faddd7d8eb5c54d9bfdf9e7e6.tar.gz |
more refactoring and fixing old specs
Diffstat (limited to 'app/controllers/projects/cycle_analytics')
-rw-r--r-- | app/controllers/projects/cycle_analytics/events_controller.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/controllers/projects/cycle_analytics/events_controller.rb b/app/controllers/projects/cycle_analytics/events_controller.rb index 13b3eec761f..5e9524b15db 100644 --- a/app/controllers/projects/cycle_analytics/events_controller.rb +++ b/app/controllers/projects/cycle_analytics/events_controller.rb @@ -51,10 +51,6 @@ module Projects @events ||= Gitlab::CycleAnalytics::Events.new(project: project, options: options) end - def options - @options ||= { from: start_date(events_params), current_user: current_user } - end - def events_params return {} unless params[:events].present? |