Changed to possibly pull model description from ctor.settings

This commit is contained in:
Shelby Sanders 2014-08-06 23:52:59 -07:00
parent 820c51fa7a
commit 76057a2ba9
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ var classHelper = module.exports = {
generateResourceDocAPIEntry: function(aClass) { generateResourceDocAPIEntry: function(aClass) {
return { return {
path: aClass.http.path, path: aClass.http.path,
description: aClass.ctor.sharedCtor && aClass.ctor.sharedCtor.description description: aClass.ctor.settings.description || aClass.ctor.sharedCtor && aClass.ctor.sharedCtor.description
}; };
} }
}; };