Remove with_associations from BoardSerializer

This commit is contained in:
charlieablett 2019-06-24 16:40:55 +02:00
parent 426f1c20b1
commit 5aaef1334d

View file

@ -2,12 +2,4 @@
class BoardSerializer < BaseSerializer
entity BoardSimpleEntity
def represent(resource, opts = {})
if resource.respond_to?(:with_associations)
resource = resource.with_associations
end
super
end
end