FlowRouter.route('/mailer', {
	name: 'mailer',
	action() {
		return BlazeLayout.render('main', {
			center: 'mailer',
		});
	},
});

FlowRouter.route('/mailer/unsubscribe/:_id/:createdAt', {
	name: 'mailer-unsubscribe',
	action(params) {
		Meteor.call('Mailer:unsubscribe', params._id, params.createdAt);
		return BlazeLayout.render('mailerUnsubscribe');
	},
});
