Commit 62f6e5bb authored by charlieablett's avatar charlieablett

Remove unneeded `with_associations` from serializer

parent 9bb38a27
...@@ -2,12 +2,4 @@ ...@@ -2,12 +2,4 @@
class BoardSerializer < BaseSerializer class BoardSerializer < BaseSerializer
entity BoardSimpleEntity entity BoardSimpleEntity
def represent(resource, opts = {})
if resource.respond_to?(:with_associations)
resource = resource.with_associations
end
super
end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment