Skip to content

Commit fcbe028

Browse files
authored
Merge pull request #2916 from strongloop/update_doc_links
Update doc links
2 parents d1ae8aa + 8f08398 commit fcbe028

File tree

7 files changed

+62
-62
lines changed

7 files changed

+62
-62
lines changed

common/models/user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ var debug = require('debug')('loopback:user');
5454
* @property {String} email Must be valid email.
5555
* @property {Boolean} emailVerified Set when a user's email has been verified via `confirm()`.
5656
* @property {String} verificationToken Set when `verify()` is called.
57-
* @property {String} realm The namespace the user belongs to. See [Partitioning users with realms](https://docs.strongloop.com/display/public/LB/Partitioning+users+with+realms) for details.
57+
* @property {String} realm The namespace the user belongs to. See [Partitioning users with realms](http://loopback.io/doc/en/lb2/Partitioning-users-with-realms.html) for details.
5858
* @property {Object} settings Extends the `Model.settings` object.
5959
* @property {Boolean} settings.emailVerificationRequired Require the email verification
6060
* process before allowing a login.

lib/current-context.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,20 @@ module.exports = function(loopback) {
1414
throw new Error(g.f(
1515
'%s was removed in version 3.0. See %s for more details.',
1616
'loopback.getCurrentContext()',
17-
'https://docs.strongloop.com/display/APIC/Using%20current%20context'));
17+
'http://loopback.io/doc/en/lb2/Using-current-context.html'));
1818
};
1919

2020
loopback.runInContext = function(fn) {
2121
throw new Error(g.f(
2222
'%s was removed in version 3.0. See %s for more details.',
2323
'loopback.runInContext()',
24-
'https://docs.strongloop.com/display/APIC/Using%20current%20context'));
24+
'http://loopback.io/doc/en/lb2/Using-current-context.html'));
2525
};
2626

2727
loopback.createContext = function(scopeName) {
2828
throw new Error(g.f(
2929
'%s was removed in version 3.0. See %s for more details.',
3030
'loopback.createContext()',
31-
'https://docs.strongloop.com/display/APIC/Using%20current%20context'));
31+
'http://loopback.io/doc/en/lb2/Using-current-context.html'));
3232
};
3333
};

lib/model.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ module.exports = function(registry) {
111111
/**
112112
* The `loopback.Model.extend()` method calls this when you create a model that extends another model.
113113
* Add any setup or configuration code you want executed when the model is created.
114-
* See [Setting up a custom model](http://docs.strongloop.com/display/LB/Extending+built-in+models#Extendingbuilt-inmodels-Settingupacustommodel).
114+
* See [Setting up a custom model](http://loopback.io/doc/en/lb2/Extending-built-in-models.html#setting-up-a-custom-model).
115115
*/
116116

117117
Model.setup = function() {
@@ -389,7 +389,7 @@ module.exports = function(registry) {
389389
* Get the `Application` object to which the Model is attached.
390390
*
391391
* @callback {Function} callback Callback function called with `(err, app)` arguments.
392-
* @param {Error} err Error object; see [Error object](http://docs.strongloop.com/display/LB/Error+object).
392+
* @param {Error} err Error object; see [Error object](http://loopback.io/doc/en/lb2/Error-object.html).
393393
* @param {Application} app Attached application object.
394394
* @end
395395
*/
@@ -405,7 +405,7 @@ module.exports = function(registry) {
405405

406406
/**
407407
* Enable remote invocation for the specified method.
408-
* See [Remote methods](http://docs.strongloop.com/display/LB/Remote+methods) for more information.
408+
* See [Remote methods](http://loopback.io/doc/en/lb2/Remote-methods.html) for more information.
409409
*
410410
* Static method example:
411411
* ```js
@@ -415,7 +415,7 @@ module.exports = function(registry) {
415415
*
416416
* @param {String} name The name of the method.
417417
* @param {Object} options The remoting options.
418-
* See [Remote methods - Options](http://docs.strongloop.com/display/LB/Remote+methods#Remotemethods-Options).
418+
* See [Remote methods - Options](http://loopback.io/doc/en/lb2/Remote-methods.html#options).
419419
*/
420420

421421
Model.remoteMethod = function(name, options) {

0 commit comments

Comments
 (0)