From a5b557cfd642cabbc898c38c4eae87afb8f315b1 Mon Sep 17 00:00:00 2001 From: Brian Dunnette Date: Fri, 5 Sep 2014 09:42:06 -0500 Subject: [PATCH] Clarify the need for app.model(container) --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 093caa6..09564ff 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,8 @@ with the loopback-component-storage connector. }); var container = ds.createModel('container'); + + app.model(container); The following methods are mixed into the model class: @@ -134,4 +136,4 @@ type for HTML uses. - GET /api/containers/:container/download/:file -Download a file within a given container by name \ No newline at end of file +Download a file within a given container by name