cms/app-client/mirage/serializers/sparse-document.js
author Chloe Laisne <chloe.laisne@gmail.com>
Fri, 24 Jun 2016 02:07:09 +0200
changeset 204 dd969e178944
parent 173 cf7b221238fd
child 222 0eba8101b129
permissions -rw-r--r--
Fix linting, remove logs and dead code
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
173
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
// mirage/serializers/blog-post.js
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
import BaseSerializer from './application';
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
export default BaseSerializer.extend({
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
    attrs: ['id', 'title', 'language', 'url', 'issued', 'modified']
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
});