From 50c18275a03bb7194f6b18556d787a0232fe0a9f Mon Sep 17 00:00:00 2001 From: Zachary Golba Date: Sun, 22 May 2016 14:51:20 -0400 Subject: [PATCH] docs: update code sample in README.md (#124) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9e19d4db..a095d2a1 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ With Lux your code from before can now look like this: class PostsController extends Controller { @action index(req, res) { - return this.store.query('post', req.params); + return Post.findAll(); } } ```