mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-01 22:39:26 +00:00
24 lines
408 B
JavaScript
24 lines
408 B
JavaScript
'use strict';
|
|
|
|
const express = require('express');
|
|
const router = express.Router();
|
|
|
|
router.get('/reports', (req, res, next) => {
|
|
/* eslint-disable multiline-comment-style */
|
|
/*
|
|
return res.render('reports', {
|
|
...req.hbsContext,
|
|
title: 'Stratos - Reports',
|
|
current: 'Reports'
|
|
});
|
|
*/
|
|
/* eslint-enable multiline-comment-style */
|
|
|
|
next();
|
|
});
|
|
|
|
module.exports = {
|
|
root: '/admin',
|
|
router: router
|
|
};
|