mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 04:26:41 -04:00
16 lines
No EOL
406 B
JavaScript
16 lines
No EOL
406 B
JavaScript
Meteor.startup(function () {
|
|
|
|
// Notification email
|
|
|
|
Router.route('/email/notification/:id?', {
|
|
name: 'notification',
|
|
where: 'server',
|
|
action: function() {
|
|
var notification = Notifications.findOne(this.params.id);
|
|
var notificationContents = buildEmailNotification(notification);
|
|
this.response.write(notificationContents.html);
|
|
this.response.end();
|
|
}
|
|
});
|
|
|
|
}); |