Skip to content

Commit

Permalink
Update UPGRADE.md
Browse files Browse the repository at this point in the history
Co-authored-by: Alexander Makarov <[email protected]>
  • Loading branch information
vjik and samdark authored Jun 22, 2024
1 parent 1a3e8d1 commit c0948ac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ application when you upgrade the package from one version to another.
],
```

- Changed behavior of controller name extractor. Now it uses greedy search of namespace items with "controller(s)"
postfix. For example, controller namespace is `App\AllControllers\MyController\FooBar\BazController`. Previously,
- Controller name extractor now uses greedy search of namespace items with "controller(s)" postfix. For example, for controller namespace `App\AllControllers\MyController\FooBar\BazController` previously,
result was "controller/foo-bar/baz", now it is "foo-bar/baz". You can use `ViewRenderer::withControllerName()`
instead of `ViewRenderer::withController()` to explicitly define controller name.

0 comments on commit c0948ac

Please sign in to comment.