discourse/app/assets/javascripts/admin/addon/routes/admin-email-index.js

9 lines
208 B
JavaScript

import DiscourseRoute from "discourse/routes/discourse";
import EmailSettings from "admin/models/email-settings";
export default DiscourseRoute.extend({
model() {
return EmailSettings.find();
},
});