Skip to content

Commit

Permalink
Add "copy" to EE related links
Browse files Browse the repository at this point in the history
  • Loading branch information
shanemcd committed Mar 2, 2021
1 parent 3f4b160 commit 3d8ea17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions awx/api/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1373,6 +1373,7 @@ def get_related(self, obj):
res.update(
activity_stream=self.reverse('api:execution_environment_activity_stream_list', kwargs={'pk': obj.pk}),
unified_job_templates=self.reverse('api:execution_environment_job_template_list', kwargs={'pk': obj.pk}),
copy=self.reverse('api:execution_environment_copy', kwargs={'pk': obj.pk}),
)
if obj.organization:
res['organization'] = self.reverse('api:organization_detail', kwargs={'pk': obj.organization.pk})
Expand Down

0 comments on commit 3d8ea17

Please sign in to comment.