fix broken link for admin user in flags

This commit is contained in:
Sam 2013-06-27 16:32:03 +10:00
parent 274d8cbc0b
commit 87e9e9d437
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ Discourse.FlaggedPost.reopenClass({
Discourse.ajax('/admin/flags/' + filter + '.json').then(function(data) {
var userLookup = {};
_.each(data.users,function(user) {
userLookup[user.id] = Discourse.User.create(user);
userLookup[user.id] = Discourse.AdminUser.create(user);
});
_.each(data.posts,function(post) {
var f = Discourse.FlaggedPost.create(post);