Skip to content

Commit

Permalink
Fixed syntax error that was being generated by the index bake template
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Nov 16, 2014
1 parent c475523 commit 0efb6da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Template/Bake/Template/index.ctp
Expand Up @@ -61,7 +61,7 @@ $fields = collection($fields)
$isKey = true;
%>
<td>
<?= $<%= $singularVar %>->has('<%= $details['property'] %>') ? $this->Html->link($<%= $singularVar %>-><%= $details['property'] %>-><%= $details['displayField'] %>, ['controller' => '<%= $details['controller'] %>', 'action' => 'view', \$<%= $singularVar %>-><%= $details['property'] %>-><%= $details['primaryKey'][0] %>]) : '' ?>
<?= $<%= $singularVar %>->has('<%= $details['property'] %>') ? $this->Html->link($<%= $singularVar %>-><%= $details['property'] %>-><%= $details['displayField'] %>, ['controller' => '<%= $details['controller'] %>', 'action' => 'view', $<%= $singularVar %>-><%= $details['property'] %>-><%= $details['primaryKey'][0] %>]) : '' ?>
</td>
<%
break;
Expand Down

0 comments on commit 0efb6da

Please sign in to comment.