mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-13 10:52:46 +00:00
Creating a brand new admin page
This commit is contained in:
@@ -8,6 +8,7 @@ const mw = require('./middleware.js');
|
||||
const BrewData = require('./brew.data.js');
|
||||
|
||||
router.get('/admin', mw.adminLogin, (req, res, next) => {
|
||||
console.log('yo');
|
||||
return vitreumRender('admin', templateFn, {
|
||||
url : req.originalUrl,
|
||||
admin_key : config.get('admin:key')
|
||||
|
||||
Reference in New Issue
Block a user