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

12 lines
270 B
Text
Raw Normal View History

import EmailSettings from 'admin/models/email-settings';
export default Discourse.Route.extend({
2014-02-14 18:50:08 -05:00
model: function() {
return EmailSettings.find();
},
renderTemplate: function() {
2014-02-14 18:50:08 -05:00
this.render('admin/templates/email_index', { into: 'adminEmail' });
}
});