mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 10:08:20 -05:00
12 lines
266 B
Text
12 lines
266 B
Text
|
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;
|