firing new third type of hook, static. New hook: static:app.load, closed #1812

This commit is contained in:
Julian Lam
2014-07-25 19:15:31 -04:00
parent eea987d8dd
commit 0bad6198d4
2 changed files with 14 additions and 18 deletions

View File

@@ -188,7 +188,7 @@ module.exports = function(app, middleware) {
userRoutes(router, middleware, controllers);
groupRoutes(router, middleware, controllers);
plugins.fireHook('filter:app.load', router, middleware, controllers, function() {
plugins.fireHook('static:app.load', router, middleware, controllers, function() {
app.use(relativePath, router);
app.use(relativePath, express.static(path.join(__dirname, '../../', 'public'), {