Skip to content

Commit

Permalink
Merge pull request #56 from SergeAstapov/master
Browse files Browse the repository at this point in the history
Pass arguments to reload method
  • Loading branch information
danielspaniel authored Jan 18, 2019
2 parents 1f4f011 + 6f60ae6 commit 1aa2c36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/model-ext.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ Model.reopen({

// There is no didReload callback on models, so have to override reload
reload() {
let promise = this._super();
let promise = this._super(...arguments);
promise.then(() => {
if (Tracker.isAutoSaveEnabled(this)) {
this.saveChanges();
Expand Down

0 comments on commit 1aa2c36

Please sign in to comment.