discourse/app/assets/javascripts/admin/controllers/admin-logs-screened-urls.js.es6

13 lines
301 B
Plaintext
Raw Normal View History

export default Ember.ArrayController.extend(Discourse.Presence, {
2013-08-15 22:48:30 +08:00
loading: false,
show: function() {
var self = this;
this.set('loading', true);
Discourse.ScreenedUrl.findAll().then(function(result) {
2014-11-01 05:35:27 +08:00
self.set('model', result);
2013-08-15 22:48:30 +08:00
self.set('loading', false);
});
}
});