FEATURE: serialize and update category custom_fields

- send to client
- update from client
This commit is contained in:
Sam Saffron
2015-06-10 06:07:37 +10:00
parent 79027c2775
commit e3fa27a01c
4 changed files with 10 additions and 2 deletions
@@ -75,7 +75,8 @@ Discourse.Category = Discourse.Model.extend({
parent_category_id: this.get('parent_category_id'),
logo_url: this.get('logo_url'),
background_url: this.get('background_url'),
allow_badges: this.get('allow_badges')
allow_badges: this.get('allow_badges'),
custom_fields: this.get('custom_fields')
},
type: this.get('id') ? 'PUT' : 'POST'
});