Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Commit

Permalink
Fixing template reference
Browse files Browse the repository at this point in the history
  • Loading branch information
paulredmond committed Jul 14, 2012
1 parent 7737a2e commit 7136568
Show file tree
Hide file tree
Showing 20 changed files with 1 addition and 1 deletion.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file added View/Errors/socket.html.twig
Empty file.
2 changes: 1 addition & 1 deletion View/TwigView.php
Expand Up @@ -173,7 +173,7 @@ public function render($view = null, $layout = null)
}

// Handy reference to this plugin's error layout.
$this->set('twig_error_layout', 'Twig:Layouts:error.twig');
$this->set('twig_error_layout', 'Twig:Layouts:error.html.twig');

// @todo At the moment, not calling beforeLayout/afterLayout callbacks. Might break 3rd party helpers?
// @todo These are dispatched differently in CakePHP 2.1 -- support both 2.0x & 2.1x.
Expand Down

0 comments on commit 7136568

Please sign in to comment.