End of evening commit, changing supplier to JSONAPI

This commit is contained in:
2015-09-08 23:22:13 +02:00
parent 3cb7fd2a6f
commit 9c1945252d
36 changed files with 195 additions and 230 deletions
@@ -1,3 +1,5 @@
class Suppliers::SectionAreaSerializer < Qwaiter::Serializer
attributes :title, :width, :height, :position_x, :position_y, :section_id, :rounded
class Suppliers::SectionAreaSerializer
include Qwaiter::SupplierBaseSerializer
attributes :title, :width, :height, :position_x, :position_y, :rounded
has_one :section, serializer: Suppliers::SectionSerializer
end