Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add global properties
controller
and action
There are a bunch of extensions that relies on this props. This PR is attempting to add them inside `before_each_request` hook. If url.endpoint contains dot, than part before dot will be considered as controller and part after the dot - as action. otherwise(routes without dot, like test /hello route), view name is used for both, controller and action name
- Loading branch information
1 parent
9dd6b2c
commit 444fe18
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters