From 7a043de921c7db4f16c9bbe1fcf27c3cc70f2dfe Mon Sep 17 00:00:00 2001 From: AD7six Date: Sun, 9 Nov 2014 14:52:48 +0000 Subject: [PATCH] begin getting back to 0 fails inline properties to minimize test changes. If it's desired in the future, can add it back --- src/Template/Bake/Controller/controller.ctp | 4 ++-- src/Template/Bake/Element/array_property.ctp | 2 +- src/Template/Bake/Layout/default.ctp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Template/Bake/Controller/controller.ctp b/src/Template/Bake/Controller/controller.ctp index 828c6290d71..bc6bc47177f 100644 --- a/src/Template/Bake/Controller/controller.ctp +++ b/src/Template/Bake/Controller/controller.ctp @@ -35,8 +35,8 @@ use <%= $namespace %>\Controller\AppController; */ class <%= $name %>Controller extends AppController { <% -echo $this->Bake->arrayProperty('helpers', $helpers); -echo $this->Bake->arrayProperty('components', $components); +echo $this->Bake->arrayProperty('helpers', $helpers, ['indent' => false]); +echo $this->Bake->arrayProperty('components', $components, ['indent' => false]); echo $actions; %> diff --git a/src/Template/Bake/Element/array_property.ctp b/src/Template/Bake/Element/array_property.ctp index fc092bc495f..53c045690cd 100644 --- a/src/Template/Bake/Element/array_property.ctp +++ b/src/Template/Bake/Element/array_property.ctp @@ -7,4 +7,4 @@ use Cake\Utility\Inflector; * * @var array */ - public $<%= $name %> = [<%= $this->Bake->stringifyList($value) %>]; + public $<%= $name %> = [<%= $this->Bake->stringifyList($value, ['indent' => false]) %>]; diff --git a/src/Template/Bake/Layout/default.ctp b/src/Template/Bake/Layout/default.ctp index c62311d4bc1..99413b8abb5 100644 --- a/src/Template/Bake/Layout/default.ctp +++ b/src/Template/Bake/Layout/default.ctp @@ -13,4 +13,4 @@ * @license http://www.opensource.org/licenses/mit-license.php MIT License */ %> -<%= $this->fetch('content') %> +<%= $this->fetch('content');