1
0
mirror of https://github.com/flarum/core.git synced 2025-08-08 17:36:38 +02:00

Implement post editing

This commit is contained in:
Toby Zerner
2015-02-08 15:55:33 +10:30
parent 2d181933ea
commit 59964e3b22
8 changed files with 92 additions and 29 deletions

View File

@@ -35,6 +35,7 @@ var Discussion = DS.Model.extend({
var posts = this.get('posts') || '';
return posts.split(',');
}.property('posts'),
loadedPosts: DS.hasMany('post'),
readTime: DS.attr('date'),
readNumber: DS.attr('number'),