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.
This commit is contained in:
Miroslav Bajtoš 2014-01-21 16:49:01 +01:00
parent 7230890aa9
commit 54bff35fef
1 changed files with 1 additions and 1 deletions

View File

@ -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;