summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-11-17 13:22:27 +0100
committerJames Lopez <james@jameslopez.es>2016-11-17 13:22:27 +0100
commited39d61d746925e49d952bd8169499d3200ae68b (patch)
tree33128144980f4b62e96309e9ed4c23133422159b /app/controllers
parentf9de157e70234748cf4285fafda7b3ec13862f5c (diff)
downloadgitlab-ce-ed39d61d746925e49d952bd8169499d3200ae68b.tar.gz
refactor events facade so it uses separate classes and refactor query stuff
Diffstat (limited to 'app/controllers')
-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 2b4db0fd4aa..81b59b4804b 100644
--- a/app/controllers/projects/cycle_analytics/events_controller.rb
+++ b/app/controllers/projects/cycle_analytics/events_controller.rb
@@ -19,7 +19,7 @@ module Projects
end
def test
- @options = { from: start_date(events_params), branch: events_params[:branch_name] }
+ @options[:branch] = events_params[:branch_name]
render_events(events.test_events)
end