diff options
author | Rémy Coutable <remy@rymai.me> | 2018-09-06 13:07:33 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-09-26 19:34:26 +0300 |
commit | d2afddfeff29c15cad737db4898664381ce0f985 (patch) | |
tree | 3fd5b7f6329bf4fe4ce9851e8bc16e92def8d205 /app/controllers/dashboard_controller.rb | |
parent | 65cf805278c1d865ee0543508de92d5f4ecae4f0 (diff) |
Refactor EventFilter and increase its test coverage
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'app/controllers/dashboard_controller.rb')
-rw-r--r-- | app/controllers/dashboard_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/dashboard_controller.rb b/app/controllers/dashboard_controller.rb index 241753a505a..c032fb2efb5 100644 --- a/app/controllers/dashboard_controller.rb +++ b/app/controllers/dashboard_controller.rb @@ -40,7 +40,7 @@ class DashboardController < Dashboard::ApplicationController end @events = EventCollection - .new(projects, offset: params[:offset].to_i, filter: @event_filter) + .new(projects, offset: params[:offset].to_i, filter: event_filter) .to_a Events::RenderService.new(current_user).execute(@events) |