mirror of
https://github.com/discourse/discourse.git
synced 2026-08-26 21:27:16 -05:00
Better HTML emails, smarter email digests, new email section in admin with digest preview
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
Handles email routes
|
||||
|
||||
@class AdminEmailRoute
|
||||
@extends Discourse.Route
|
||||
@namespace Discourse
|
||||
@module Discourse
|
||||
**/
|
||||
Discourse.AdminEmailIndexRoute = Discourse.Route.extend({
|
||||
|
||||
setupController: function(controller) {
|
||||
Discourse.EmailSettings.find().then(function (model) {
|
||||
controller.set('model', model);
|
||||
})
|
||||
},
|
||||
|
||||
renderTemplate: function() {
|
||||
this.render('admin/templates/email_index', {into: 'adminEmail'});
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user