Browse files

Add attributes to model

Outer green

We add title and body attributes to our model, and now both the title and body are shown on the get page. Our last bug is squashed!
  • Loading branch information...
CodingItWrong committed Jan 11, 2018
1 parent 87c29f2 commit fb2ec83b859fb13c0ec1b018e1c96c6c7ef588a6
Showing with 2 additions and 1 deletion.
  1. +2 −1 app/models/post.js
@@ -1,5 +1,6 @@
import DS from 'ember-data';
export default DS.Model.extend({
title: DS.attr(),
body: DS.attr(),

0 comments on commit fb2ec83

Please sign in to comment.