Remove with_associations
from BoardSerializer
This commit is contained in:
parent
426f1c20b1
commit
5aaef1334d
1 changed files with 0 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue