Skip to content

Commit

Permalink
Add extend back in.
Browse files Browse the repository at this point in the history
  • Loading branch information
muziejus authored Mar 5, 2019
1 parent 8b152e9 commit f8e6a5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guides/release/tutorial/ember-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ When we open the model file, we can see a blank class extending [`DS.Model`](htt
```javascript {data-filename=app/models/rental.js}
import DS from 'ember-data';

export default DS.Model({
export default DS.Model.extend({

});
```
Expand All @@ -39,7 +39,7 @@ For more information on Ember Data Attributes, read the section called [Defining
```javascript {data-filename="app/models/rental.js" data-diff="+4,+5,+6,+7,+8,+9,+10"}
import DS from 'ember-data';

export default DS.Model({
export default DS.Model.extend({
title: DS.attr(),
owner: DS.attr(),
city: DS.attr(),
Expand Down

0 comments on commit f8e6a5b

Please sign in to comment.