Initial commit
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
const { getInstanceSetting } = require('../models/helpers')
|
||||
|
||||
exports.enhanceLocals = async (req, res, next) => {
|
||||
res.locals.portalCode = await getInstanceSetting('portal_code')
|
||||
next()
|
||||
}
|
||||
Reference in New Issue
Block a user