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