Skip to content

Commit 3a00d35

Browse files
author
Jen Weber
authored
Merge pull request #31 from efx/fix-25
ensure code example uses correct method
2 parents e2b3edf + a5130a3 commit 3a00d35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/v3.1.0/models/pushing-records-into-the-store.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export default Route.extend({
138138
method: 'POST',
139139
url: 'process-payment'
140140
}).then((digitalInventory) => {
141-
this.get('store').pushPayload(digitalInventory);
141+
this.get('store').push(digitalInventory);
142142
this.transitionTo('thank-you');
143143
});
144144
}

0 commit comments

Comments
 (0)