discourse/app/assets/javascripts/admin/routes/admin_email_index_route.js

10 lines
240 B
JavaScript
Raw Normal View History

Discourse.AdminEmailIndexRoute = Discourse.Route.extend({
2014-02-14 18:50:08 -05:00
model: function() {
return Discourse.EmailSettings.find();
},
renderTemplate: function() {
2014-02-14 18:50:08 -05:00
this.render('admin/templates/email_index', { into: 'adminEmail' });
}
});