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

22 lines
433 B
JavaScript
Raw Normal View History

(function() {
/**
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();
2013-02-21 15:55:58 -05:00
},
renderTemplate: function() {
this.render('admin/templates/email_logs');
}
});
}).call(this);