Skip to content

Commit 6a3ed2d

Browse files
committed
updated readme file
1 parent 73756e4 commit 6a3ed2d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Then register this controller in the `routes` config(we assume you use FastRoute
6868
### Multiple controllers for the same route
6969

7070
Use case: You have defined a controller inside some package, with default actions. You want to add actions that fall into the same controller name(or route name more exactly). You want to do this without extending the controller provided by the package. In this case you can do the following
71-
- create your own controller, independent of the package's controller which adds or overwrites actions
71+
- create your own controller, independent of the package's controller which adds more actions
7272
- ZE lets you define an array of middleware for a route, so you can register this controller before the package's controller
7373

7474
##### Example
@@ -83,7 +83,7 @@ Use case: You have defined a controller inside some package, with default action
8383
```
8484

8585
Now when a request for this route comes in, your controller will run first. Dot Controllers are designed to ignore requests that cannot be matched to one of its methods, so if no action matches, it will call the next middleware, in our case, the second controller.
86-
If this is the last controller, and action does not match here, it will go to the default 404 Not found page. There is a simple middleware defined in dk-base that makes sure any request that does not match will be converted explicitly to a 404 error.
86+
If this is the last controller, and action does not match here, it will go to the default 404 Not found page. There is a simple middleware defined in dot-helpers that makes sure any request that does not match will be converted explicitly to a 404 error.
8787

8888
## Controller plugins
8989

0 commit comments

Comments
 (0)