mirror of https://github.com/vapor/docs.git
Controllers guide - Consistency fixes.
This commit is contained in:
parent
4aa4bbe8a2
commit
e1cdb941f2
|
|
@ -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/).
|
||||
|
|
|
|||
Loading…
Reference in New Issue