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

13 lines
301 B
Text
Raw Normal View History

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