mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-15 03:39:43 +08:00
Follow-up to #32211. This PR adds a Settings tab to the Email settings admin page. The current Settings tab is renamed to Server settings.
10 lines
299 B
JavaScript
10 lines
299 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/server-settings.json").then(function (settings) {
|
|
return EmailSettings.create(settings);
|
|
});
|
|
}
|
|
}
|