mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUGFIX: update LeftAndMain::handleRequest() to be consistent with Controller::handleRequest()
This commit is contained in:
parent
1732a17114
commit
51affd2d63
@ -349,10 +349,10 @@ class LeftAndMain extends Controller {
|
|||||||
SSViewer::set_theme(null);
|
SSViewer::set_theme(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
function handleRequest($request) {
|
function handleRequest($request, DataModel $model) {
|
||||||
$title = $this->Title();
|
$title = $this->Title();
|
||||||
|
|
||||||
$response = parent::handleRequest($request);
|
$response = parent::handleRequest($request, $model);
|
||||||
$response->addHeader('X-Controller', $this->class);
|
$response->addHeader('X-Controller', $this->class);
|
||||||
$response->addHeader('X-Title', $title);
|
$response->addHeader('X-Title', $title);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user