Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix issue with scripts_for_layout compatibility.

  • Loading branch information...
commit 9cdf8042bf3a55cc5269eb77db4248254f035356 1 parent 5936fa5
@markstory markstory authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Cake/View/View.php
View
2  lib/Cake/View/View.php
@@ -493,7 +493,7 @@ public function renderLayout($content, $layout = null) {
$this->getEventManager()->dispatch(new CakeEvent('View.beforeLayout', $this, array($layoutFileName)));
$scripts = implode("\n\t", $this->_scripts);
- $scripts .= $this->get('meta') . $this->get('css') . $this->get('script');
+ $scripts .= $this->Blocks->get('meta') . $this->Blocks->get('css') . $this->Blocks->get('script');
$this->viewVars = array_merge($this->viewVars, array(
'content_for_layout' => $content,
Please sign in to comment.
Something went wrong with that request. Please try again.