mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-30 10:35:55 +01:00
oops action:homepage.get:*
This commit is contained in:
@@ -32,7 +32,7 @@ var Controllers = {
|
||||
|
||||
Controllers.home = function(req, res, next) {
|
||||
var route = meta.config.homePageRoute || 'categories',
|
||||
hook = 'action:navigation.get:' + route;
|
||||
hook = 'action:homepage.get:' + route;
|
||||
|
||||
if (plugins.hasListeners(hook)) {
|
||||
plugins.fireHook(hook, {req: req, res: res, next: next});
|
||||
|
||||
Reference in New Issue
Block a user