one final push, cleanup + organize + lint; made feeds/meta/plugins routes follow same pattern as other route files

This commit is contained in:
psychobunny
2014-03-05 17:06:24 -05:00
parent 1dbc47b890
commit c0cd6148f4
9 changed files with 663 additions and 658 deletions

View File

@@ -16,9 +16,7 @@ var templates = require('./../../public/src/templates'),
var middleware = {};
/*
* Helper functions
*/
function routeThemeScreenshots(app, themes) {
var screenshotPath;
@@ -170,6 +168,9 @@ function catch404(req, res, next) {
}
}
module.exports = function(app, data) {
middleware = require('./middleware')(app);