From 54bff35fefbeb65b3672d5d8a63f91219b10c44b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Bajto=C5=A1?= Date: Tue, 21 Jan 2014 16:49:01 +0100 Subject: [PATCH] User: use User.http.path Use the new property introduced by a recent change in loopback-datasource-juggler instead of building the URL manually from pluralModelName. --- lib/models/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/models/user.js b/lib/models/user.js index 5bd2b102..4ad2fde7 100644 --- a/lib/models/user.js +++ b/lib/models/user.js @@ -240,7 +240,7 @@ User.prototype.verify = function (options, fn) { options.protocol + '://' + options.host - + (User.sharedCtor.http.path || '/' + User.pluralModelName) + + User.http.path + User.confirm.http.path;