From ca6298d6f4378febd850ff48f1cd728dbfd7c83b Mon Sep 17 00:00:00 2001 From: Mahdi Dibaiee Date: Sun, 5 Jun 2016 21:37:58 +0430 Subject: [PATCH] chore(README, defaultConfig): add defaultConfig to README --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 66872eb..44801af 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,8 @@ associations(models); // pretend this function defines our associations await register({ register: require('hapi-sequelize-crud'), options: { - prefix: '/v1' + prefix: '/v1', + defaultConfig: { ... } // passed as `config` to all routes created } }); ```