Skip to content

Commit

Permalink
Merge pull request #31 from efx/fix-25
Browse files Browse the repository at this point in the history
ensure code example uses correct method
  • Loading branch information
Jen Weber authored May 12, 2018
2 parents e2b3edf + a5130a3 commit 3a00d35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/v3.1.0/models/pushing-records-into-the-store.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export default Route.extend({
method: 'POST',
url: 'process-payment'
}).then((digitalInventory) => {
this.get('store').pushPayload(digitalInventory);
this.get('store').push(digitalInventory);
this.transitionTo('thank-you');
});
}
Expand Down

0 comments on commit 3a00d35

Please sign in to comment.