Skip to content

Commit

Permalink
bind serialize method to transform class
Browse files Browse the repository at this point in the history
  • Loading branch information
danielspaniel committed Jun 6, 2017
1 parent 96edb97 commit c8c3538
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion addon/converter/fixture-converter.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,9 @@ export default class {
transform
);

return container.lookup('transform:' + type).serialize;
let transformer = container.lookup('transform:' + type);
return transformer.serialize.bind(transformer);
// return container.lookup('transform:' + type).serialize;
}

extractAttributes(modelName, fixture) {
Expand Down

0 comments on commit c8c3538

Please sign in to comment.