Skip to content

Commit

Permalink
Remove unnecessary ".lua" extension
Browse files Browse the repository at this point in the history
The module name should not have the ".lua" extension:

```
"kong.plugins.<plugin_name>.daos.lua"
```
should be:
```
"kong.plugins.<plugin_name>.daos"
```
  • Loading branch information
jmdacruz committed May 11, 2016
1 parent ddea6cd commit 0351ceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/docs/0.8.x/plugin-development/custom-entities.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.<plugin_name>.daos.lua"
"kong.plugins.<plugin_name>.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]).
Expand Down

0 comments on commit 0351ceb

Please sign in to comment.