Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make $pageController->render() a little more powerful. #1517

Closed
aembler opened this issue Nov 12, 2014 · 0 comments
Closed

Make $pageController->render() a little more powerful. #1517

aembler opened this issue Nov 12, 2014 · 0 comments
Assignees

Comments

@aembler
Copy link
Member

aembler commented Nov 12, 2014

Right now it just dumps the current page and instead renders a new one in its place, running the new view method and everything. Instead, we bring back 5.6 behavior. This means that

$this->render('/path/to/whatever');

will actually grab this view at the current path (including looking in the package directory if the current page is a packaged page) and use that view as the view instead of the current pages view. This will be similar to $renderOverride was in 5.6 (but more elegant.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants