Skip to content

Commit

Permalink
Merge pull request #5115 from acorncom/patch-4
Browse files Browse the repository at this point in the history
[DOC release] Fixes code blocks for api viewer
  • Loading branch information
stefanpenner authored Aug 8, 2017
2 parents d35feb1 + 489aae7 commit 1d2ff61
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions addon/-private/system/references/belongs-to.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ BelongsToReference.prototype.value = function() {
userRef.load().then(function(user) {
userRef.value() === user
});
```
@method load
@return {Promise} a promise that resolves with the record in this belongs-to relationship.
Expand Down Expand Up @@ -398,6 +399,7 @@ BelongsToReference.prototype.load = function() {
userRef.reload().then(function(user) {
userRef.value() === user
});
```
@method reload
@return {Promise} a promise that resolves with the record in this belongs-to relationship after the reload has completed.
Expand Down

0 comments on commit 1d2ff61

Please sign in to comment.