mirror of
https://github.com/discourse/discourse.git
synced 2024-12-16 23:03:44 +08:00
12 lines
266 B
JavaScript
12 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;
|