3088: set the owner uuid on the newly created pipeline instance to the selected project.
authorradhika <radhika@curoverse.com>
Thu, 26 Jun 2014 19:03:27 +0000 (15:03 -0400)
committerradhika <radhika@curoverse.com>
Thu, 26 Jun 2014 19:03:27 +0000 (15:03 -0400)
apps/workbench/app/views/pipeline_templates/_show_components.html.erb

index 5050c774fd9cd95bffcacea26766a0ec344b1601..8be156fe1f5bd628161cccfbab519108268c11d0 100644 (file)
@@ -5,9 +5,8 @@
                                      action_name: 'Choose',
                                      action_href: pipeline_instances_path,
                                      action_method: 'post',
-                                     action_data: {selection_param: 'project[uuid]',
+                                     action_data: {selection_param: 'pipeline_instance[owner_uuid]',
                                                    'pipeline_instance[pipeline_template_uuid]' => @object.uuid,
-                                                   'pipeline_instance[owner_uuid]' => @object.owner_uuid,
                                                    'success' => 'redirect-to-created-object'
                                                   }.to_json),
                 { class: "btn btn-primary btn-sm", remote: true, method: 'get' }