app/views/katello/api/v2/repository_sets/show.json.rabl in katello-1.5.0 vs app/views/katello/api/v2/repository_sets/show.json.rabl in katello-2.2.2
- old
+ new
@@ -1,8 +1,12 @@
-object @resource => :repository_set
+object @resource
-attribute :katello_enabled? => :katello_enabled
+@resource ||= @object
glue :content do
extends 'katello/api/v2/common/identifier'
attributes :type, :updated, :vendor, :gpgUrl, :contentUrl
+end
+
+child @resource.repositories => :repositories do
+ attributes :id, :name
end