Browse Source

Fixed syntax error that was being generated by the index bake template

Jose Lorenzo Rodriguez 11 years ago
parent
commit
0efb6da6f1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Template/Bake/Template/index.ctp

+ 1 - 1
src/Template/Bake/Template/index.ctp

@@ -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;