mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
18 lines
368 B
JavaScript
18 lines
368 B
JavaScript
/**
|
|
Handles email routes
|
|
|
|
@class AdminEmailRoute
|
|
@extends Discourse.Route
|
|
@namespace Discourse
|
|
@module Discourse
|
|
**/
|
|
Discourse.AdminEmailIndexRoute = Discourse.Route.extend({
|
|
|
|
model: function() {
|
|
return Discourse.EmailSettings.find();
|
|
},
|
|
|
|
renderTemplate: function() {
|
|
this.render('admin/templates/email_index', { into: 'adminEmail' });
|
|
}
|
|
});
|