mirror of
https://github.com/janishutz/libreevent.git
synced 2025-11-25 21:34:24 +00:00
prepare newsletter plugin
This commit is contained in:
@@ -11,7 +11,7 @@ const path = require( 'path' );
|
||||
const mm = require( '../../../mail/mailSender.js' );
|
||||
const sendMail = new mm();
|
||||
|
||||
module.exports = ( app, settings ) => {
|
||||
module.exports = ( app ) => {
|
||||
app.get( '/admin/mail/compose', ( request, response ) => {
|
||||
if ( request.session.loggedInAdmin ) {
|
||||
response.sendFile( path.join( __dirname + '/html/compose.html' ) );
|
||||
|
||||
Reference in New Issue
Block a user