Clarify the need for app.model(container)
This commit is contained in:
parent
bdab6788d5
commit
a5b557cfd6
|
@ -27,6 +27,8 @@ with the loopback-component-storage connector.
|
||||||
});
|
});
|
||||||
|
|
||||||
var container = ds.createModel('container');
|
var container = ds.createModel('container');
|
||||||
|
|
||||||
|
app.model(container);
|
||||||
|
|
||||||
The following methods are mixed into the model class:
|
The following methods are mixed into the model class:
|
||||||
|
|
||||||
|
@ -134,4 +136,4 @@ type for HTML uses.
|
||||||
|
|
||||||
- GET /api/containers/:container/download/:file
|
- GET /api/containers/:container/download/:file
|
||||||
|
|
||||||
Download a file within a given container by name
|
Download a file within a given container by name
|
||||||
|
|
Loading…
Reference in New Issue