End of evening commit, changing supplier to JSONAPI
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
class Suppliers::ExtendedSectionSerializer < Qwaiter::Serializer
|
||||
root 'section'
|
||||
attributes :title, :path, :width, :height
|
||||
has_many :tables, serializer: Suppliers::ExtendedTableSerializer
|
||||
end
|
||||
#class Suppliers::ExtendedSectionSerializer < Qwaiter::Serializer
|
||||
# attributes :title, :path, :width, :height
|
||||
# has_many :tables, serializer: Suppliers::TableSerializer
|
||||
#end
|
||||
|
||||
Reference in New Issue
Block a user