From 0efb6da6f112dc181905561e17a2d760d0891570 Mon Sep 17 00:00:00 2001 From: Jose Lorenzo Rodriguez Date: Sun, 16 Nov 2014 13:23:01 +0100 Subject: [PATCH] Fixed syntax error that was being generated by the index bake template --- src/Template/Bake/Template/index.ctp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Template/Bake/Template/index.ctp b/src/Template/Bake/Template/index.ctp index e2b67cb5f8d..71a28391b87 100644 --- a/src/Template/Bake/Template/index.ctp +++ b/src/Template/Bake/Template/index.ctp @@ -61,7 +61,7 @@ $fields = collection($fields) $isKey = true; %> - ->has('<%= $details['property'] %>') ? $this->Html->link($<%= $singularVar %>-><%= $details['property'] %>-><%= $details['displayField'] %>, ['controller' => '<%= $details['controller'] %>', 'action' => 'view', \$<%= $singularVar %>-><%= $details['property'] %>-><%= $details['primaryKey'][0] %>]) : '' ?> + ->has('<%= $details['property'] %>') ? $this->Html->link($<%= $singularVar %>-><%= $details['property'] %>-><%= $details['displayField'] %>, ['controller' => '<%= $details['controller'] %>', 'action' => 'view', $<%= $singularVar %>-><%= $details['property'] %>-><%= $details['primaryKey'][0] %>]) : '' ?> <% break;