cakephp/cakephp — pull request #4243 by lorenzo (2014-08-12 16:41:04+00:00)
Title: 3.0 bake template fix

For belongsTo associations the line in the index template will look like this

```php
has('country') ? $this->Html->link($city->country->name, ['controller' => 'Countries', 'action' => 'view', $city->country->id]) : ''; ?>
```php