From 96fddd51116164d4f963d74d9f83df362d1a96b2 Mon Sep 17 00:00:00 2001 From: Greg Blomquist Date: Wed, 10 Oct 2018 15:43:12 -0400 Subject: [PATCH] Merge pull request #18070 from AparnaKarve/virtual_transformation_mapping Add `virtual_has_one` for `transformation_mapping` for API accessibility (cherry picked from commit 19b41993df1c260f922cb63b1ba82b3587f72d49) https://bugzilla.redhat.com/show_bug.cgi?id=1647108 --- app/models/service_template_transformation_plan.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/service_template_transformation_plan.rb b/app/models/service_template_transformation_plan.rb index fa6c3dc2bfc..90c655f42a2 100644 --- a/app/models/service_template_transformation_plan.rb +++ b/app/models/service_template_transformation_plan.rb @@ -1,4 +1,5 @@ class ServiceTemplateTransformationPlan < ServiceTemplate + virtual_has_one :transformation_mapping, :uses => :transformation_mapping def request_class ServiceTemplateTransformationPlanRequest end