From 0351ceb3ff377fe2cbc41b6a2f54cc611a513424 Mon Sep 17 00:00:00 2001 From: Marcelo Da Cruz Pinto Date: Tue, 10 May 2016 21:13:46 -0700 Subject: [PATCH] Remove unnecessary ".lua" extension The module name should not have the ".lua" extension: ``` "kong.plugins..daos.lua" ``` should be: ``` "kong.plugins..daos" ``` --- app/docs/0.8.x/plugin-development/custom-entities.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/docs/0.8.x/plugin-development/custom-entities.md b/app/docs/0.8.x/plugin-development/custom-entities.md index 667b0e4442a9..0353e8fdc1a2 100644 --- a/app/docs/0.8.x/plugin-development/custom-entities.md +++ b/app/docs/0.8.x/plugin-development/custom-entities.md @@ -110,7 +110,7 @@ To make the DAO Factory load your custom DAO(s), you will simply need to define This schema is to be defined in a module named: ``` -"kong.plugins..daos.lua" +"kong.plugins..daos" ``` Once that module returns your entity's schema, and assuming your plugin is loaded by Kong (see the `custom_plugins` property in `kong.yml`), the DAO Factory will use it to instanciate a DAO object (see [kong.dao]).