From e733bae679cd7c82e4bb4490375b0be4ea7ea02e Mon Sep 17 00:00:00 2001 From: Beth Skurrie Date: Mon, 18 Dec 2017 15:06:12 +1100 Subject: [PATCH] fix: create selector objects when viewing matrix URL with consumer and provider --- lib/pact_broker/ui/controllers/matrix.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/pact_broker/ui/controllers/matrix.rb b/lib/pact_broker/ui/controllers/matrix.rb index 56743d77c..2d068308f 100644 --- a/lib/pact_broker/ui/controllers/matrix.rb +++ b/lib/pact_broker/ui/controllers/matrix.rb @@ -46,7 +46,8 @@ class Matrix < Base lines: lines, title: "The Matrix", consumer_name: params[:consumer_name], - provider_name: params[:provider_name] + provider_name: params[:provider_name], + selectors: create_selector_objects(selectors) } haml :'matrix/show', {locals: locals, layout: :'layouts/main'} end