Fixed bug where custom resource events would not show up in the dashboard

This commit is contained in:
Dallon Feldner
2012-12-19 09:20:00 -07:00
parent 8482a4329a
commit 97ce7db8c2

View File

@@ -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] = {