Controllers guide - Consistency fixes.

This commit is contained in:
Jon Cox 2017-02-12 21:37:15 +00:00 committed by GitHub
parent 4aa4bbe8a2
commit e1cdb941f2
1 changed files with 2 additions and 2 deletions

View File

@ -132,8 +132,8 @@ drop.resource("users", users)
## Folder
Controllers can go anywhere in your application, but they are most often stored in the `Controllers/*` directory.
Controllers can go anywhere in your application, but they are most often stored in the `Controllers/` directory.
### Modules
If you are building a large application, you may want to create your controllers in a separate module. This will allow you to perform unit tests on your controllers. For more information on creating modules, visit the documentation for the [Swift Package Manager](https://swift.org/package-manager/)
If you are building a large application, you may want to create your controllers in a separate module. This will allow you to perform unit tests on your controllers. For more information on creating modules, visit the documentation for the [Swift Package Manager](https://swift.org/package-manager/).