mirror of
https://github.com/janishutz/libreevent.git
synced 2026-09-22 13:15:25 +02:00
prepare newsletter plugin
This commit is contained in:
1 parent
364f1d4c38
commit
892772bcb9
8 files changed
+272
-1
No files matched your search
@@ -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