Finish renaming blocked emails to screen emails

This commit is contained in:
Neil Lalonde
2013-08-14 16:40:12 -04:00
parent 3e7441177a
commit 9170166e93
12 changed files with 63 additions and 63 deletions

View File

@@ -1,21 +0,0 @@
/**
This controller supports the interface for listing blocked email addresses in the admin section.
@class AdminLogsBlockedEmailsController
@extends Ember.ArrayController
@namespace Discourse
@module Discourse
**/
Discourse.AdminLogsBlockedEmailsController = Ember.ArrayController.extend(Discourse.Presence, {
loading: false,
content: [],
show: function() {
var self = this;
this.set('loading', true);
Discourse.BlockedEmail.findAll().then(function(result) {
self.set('content', result);
self.set('loading', false);
});
}
});

View File

@@ -0,0 +1,21 @@
/**
This controller supports the interface for listing screened email addresses in the admin section.
@class AdminLogsScreenedEmailsController
@extends Ember.ArrayController
@namespace Discourse
@module Discourse
**/
Discourse.AdminLogsScreenedEmailsController = Ember.ArrayController.extend(Discourse.Presence, {
loading: false,
content: [],
show: function() {
var self = this;
this.set('loading', true);
Discourse.ScreenedEmail.findAll().then(function(result) {
self.set('content', result);
self.set('loading', false);
});
}
});