mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
17 lines
390 B
JavaScript
17 lines
390 B
JavaScript
/**
|
|
Handles routes related to viewing email logs.
|
|
|
|
@class AdminEmailLogsRoute
|
|
@extends Discourse.Route
|
|
@namespace Discourse
|
|
@module Discourse
|
|
**/
|
|
Discourse.AdminEmailLogsRoute = Discourse.Route.extend({
|
|
model: function() {
|
|
return Discourse.EmailLog.findAll();
|
|
},
|
|
|
|
renderTemplate: function() {
|
|
this.render('admin/templates/email_logs', {into: 'adminEmail'});
|
|
}
|
|
});
|