Upgrade to Ember 1.7.1 + group patch

This commit is contained in:
Robin Ward
2014-10-31 17:35:27 -04:00
parent c32df362d4
commit a6b1be81b1
15 changed files with 47411 additions and 46233 deletions

View File

@ -1,20 +1,11 @@
/**
This controller supports the interface for listing screened URLs in the admin section.
@class AdminLogsScreenedUrlsController
@extends Ember.ArrayController
@namespace Discourse
@module Discourse
**/
export default Ember.ArrayController.extend(Discourse.Presence, {
loading: false,
content: [],
show: function() {
var self = this;
this.set('loading', true);
Discourse.ScreenedUrl.findAll().then(function(result) {
self.set('content', result);
self.set('model', result);
self.set('loading', false);
});
}