finally got admin header and footer working 👍

This commit is contained in:
psychobunny
2014-03-03 14:30:39 -05:00
parent eed97648b1
commit d360320441
3 changed files with 53 additions and 29 deletions

View File

@@ -103,7 +103,7 @@ module.exports = function(app, middleware, controllers) {
}());
app.namespace('/admin', function () {
app.get('/', middleware.buildHeader, function(req, res, next) {
app.get('/', middleware.admin.buildHeader, function(req, res, next) {
res.render('admin/index', {});
});