title: Not able to bind data in posts.hbs
body: <p><strong>templates/posts.hbs</strong></p>
  <pre><code>&lt;h2&gt;Posts&lt;/h2&gt;
      {{#each model as |post|}}
        &lt;div&gt;
          &lt;h3&gt;{{post.postid}}&lt;/h3&gt;
          &lt;h3&gt;{{post.title}}&lt;/h3&gt;
          &lt;h3&gt;{{post.userid}}&lt;/h3&gt;
          &lt;h4&gt;{{post.description}}&lt;/h4&gt;
        &lt;/div&gt;
      {{/each}}
      {{outlet}}
  </code></pre>
  <p><strong>serializers/posts.js</strong></p>
  <pre><code>import DS from 'ember-data';
  
  export default DS.JSONAPISerializer.extend({
    normalizeResponse(store, primaryModelClass, payload, id, requestType){
      payload = {data: payload};
      console.log(payload); //in console getting data here properly
      return this._super(store, primaryModelClass, payload, id, requestType);
    }
  });
  </code></pre>
  <p><strong>routes/posts.js</strong></p>
  <pre><code>import Ember from 'ember';
  
  export default Ember.Route.extend({
    model(){
      let posts = this.store.findAll('post');
      console.log(posts);
      return posts;
    }
  });
  </code></pre>
  <p>Getting data from backend API point and printing data in console properly. Everything fine.
  But not binding in handlebars (posts.hbs). Can someone help me with this? New to ember Js.</p>
  <p>In <strong>routes/posts.js</strong> from console.log(posts) I'm getting one error</p>
  <pre><code>reason: EmberError
  description: undefined
  fileName: undefined
  lineNumber: undefined
  message: &quot;Assertion Failed: Encountered a resource object with an undefined type (resolved resource using blog-front-end@serializer:post:)&quot;
  name: &quot;Error&quot;
  number: undefined
  stack: &quot;Error: Assertion Failed: Encountered a resource object with an undefined type (resolved resource using blog-front-end@serializer:post:)↵    at new EmberError (http://localhost:4200/assets/vendor.js:30297:21)↵    at assert (http://localhost:4200/assets/vendor.js:17992:13)↵    at Object.assert (http://localhost:4200/assets/vendor.js:30109:34)↵    at Class._normalizeResourceHelper (http://localhost:4200/assets/vendor.js:89458:61)↵    at Class._normalizeDocumentHelper (http://localhost:4200/assets/vendor.js:89413:25)↵    at Class._normalizeResponse (http://localhost:4200/assets/vendor.js:89512:36)↵    at Class.normalizeArrayResponse (http://localhost:4200/assets/vendor.js:90051:19)↵    at Class.normalizeFindAllResponse (http://localhost:4200/assets/vendor.js:90021:42)↵    at Class.normalizeResponse (http://localhost:4200/assets/vendor.js:89997:48)↵    at Class.superWrapper (http://localhost:4200/assets/vendor.js:36019:22)&quot;
  __ember1605717703192: &quot;ember449&quot;
  </code></pre>