mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 16:18:42 -05:00
5c899c765b
This reverts commit c21457d6a7
.
11 lines
266 B
JavaScript
11 lines
266 B
JavaScript
const EmailSettings = Discourse.Model.extend({});
|
|
|
|
EmailSettings.reopenClass({
|
|
find: function() {
|
|
return Discourse.ajax("/admin/email.json").then(function (settings) {
|
|
return EmailSettings.create(settings);
|
|
});
|
|
}
|
|
});
|
|
|
|
export default EmailSettings;
|