Skip to content

Commit

Permalink
begin getting back to 0 fails
Browse files Browse the repository at this point in the history
inline properties to minimize test changes. If it's desired in the
future, can add it back
  • Loading branch information
AD7six committed Nov 14, 2014
1 parent 2b4b05e commit 7a043de
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Template/Bake/Controller/controller.ctp
Expand Up @@ -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;
%>

Expand Down
2 changes: 1 addition & 1 deletion src/Template/Bake/Element/array_property.ctp
Expand Up @@ -7,4 +7,4 @@ use Cake\Utility\Inflector;
*
* @var array
*/
public $<%= $name %> = [<%= $this->Bake->stringifyList($value) %>];
public $<%= $name %> = [<%= $this->Bake->stringifyList($value, ['indent' => false]) %>];
2 changes: 1 addition & 1 deletion src/Template/Bake/Layout/default.ctp
Expand Up @@ -13,4 +13,4 @@
* @license http://www.opensource.org/licenses/mit-license.php MIT License
*/
%>
<%= $this->fetch('content') %>
<%= $this->fetch('content');

0 comments on commit 7a043de

Please sign in to comment.