From 76057a2ba9da8321c33f093473f94298a21222a8 Mon Sep 17 00:00:00 2001 From: Shelby Sanders Date: Wed, 6 Aug 2014 23:52:59 -0700 Subject: [PATCH] Changed to possibly pull model description from ctor.settings --- lib/class-helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/class-helper.js b/lib/class-helper.js index 0aab3b4..573c3f5 100644 --- a/lib/class-helper.js +++ b/lib/class-helper.js @@ -43,7 +43,7 @@ var classHelper = module.exports = { generateResourceDocAPIEntry: function(aClass) { return { path: aClass.http.path, - description: aClass.ctor.sharedCtor && aClass.ctor.sharedCtor.description + description: aClass.ctor.settings.description || aClass.ctor.sharedCtor && aClass.ctor.sharedCtor.description }; } };