From 97ce7db8c25f9a0bc005a3c6b8cc93f378044a64 Mon Sep 17 00:00:00 2001 From: Dallon Feldner Date: Wed, 19 Dec 2012 09:20:00 -0700 Subject: [PATCH] Fixed bug where custom resource events would not show up in the dashboard --- lib/internal-resources/internal-resources.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal-resources/internal-resources.js b/lib/internal-resources/internal-resources.js index dee6f8a..07f486f 100644 --- a/lib/internal-resources/internal-resources.js +++ b/lib/internal-resources/internal-resources.js @@ -63,7 +63,7 @@ InternalResources.prototype.handle = function(ctx, next) { var c = types[key] , pages = c.prototype.dashboard && c.prototype.dashboard.pages; - if (!pages && c.eventNames) { + if (!pages && c.prototype.eventNames) { pages = ['Config', 'Events']; } result[key] = {