diff --git a/core/client/serializers/post.js b/core/client/serializers/post.js index 4b05c89e11..6a1216bde2 100644 --- a/core/client/serializers/post.js +++ b/core/client/serializers/post.js @@ -52,10 +52,14 @@ var PostSerializer = ApplicationSerializer.extend(DS.EmbeddedRecordsMixin, { var root = Ember.String.pluralize(type.typeKey), data = this.serialize(record, options); - // Don't ever pass uuid's + // Properties that exist on the model but we don't want sent in the payload + delete data.uuid; - // Don't send HTML delete data.html; + // Inserted locally as a convenience. + delete data.author_id; + // Read-only virtual property. + delete data.url; hash[root] = [data]; }