I want to style my app from scratch so I've created a brand new layout and assigned it as default:
class AppController extends Controller {
public $components = array(
'DebugKit.Toolbar',
);
public function beforeRender() {
parent::beforeRender();
$this->layout = 'app';
}
}
However, it seems that it also affects the internal error pages generated by CakePHP that I need for development:
Is there a way to make such pages use app\View\Layouts\default.ctp
instead of app.ctp
?