mirror of
https://github.com/discourse/discourse.git
synced 2024-12-22 19:44:44 +08:00
64557c4076
This commit was generated using the ember-native-class-codemod along with a handful of manual updates
11 lines
283 B
JavaScript
11 lines
283 B
JavaScript
import EmberObject from "@ember/object";
|
|
import { ajax } from "discourse/lib/ajax";
|
|
|
|
export default class EmailSettings extends EmberObject {
|
|
static find() {
|
|
return ajax("/admin/email.json").then(function (settings) {
|
|
return EmailSettings.create(settings);
|
|
});
|
|
}
|
|
}
|