mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-08 12:32:42 +00:00
Starting to change how Controller::render() and response
objects are handled.
This commit is contained in:
parent
65d28f4c73
commit
b0749acbb6
2 changed files with 6 additions and 2 deletions
|
@ -828,7 +828,8 @@ class Controller extends Object {
|
|||
|
||||
$this->autoRender = false;
|
||||
$this->View = $View;
|
||||
return $this->response->body($View->render($view, $layout));
|
||||
$this->response->body($View->render($view, $layout));
|
||||
return $this->response;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue