Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨feature: Pass all locals to ctx.Render (#1693)
* ✨feature: Pass all locals to ctx.Render * add test case for render using locals * Added option PassLocalsToViews to enable pass locals to render The option PassLocalsToViews is set to disabled by default * Added a check to see if the ctx bind already contains the value * Added a test for ctx render with locals and binds.
- Loading branch information
Showing
3 changed files
with
83 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
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