mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	one final push, cleanup + organize + lint; made feeds/meta/plugins routes follow same pattern as other route files
This commit is contained in:
		| @@ -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); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user