Little modification to enable routing from tag list.
{% extends 'CompanyBaseBundle::layout.html.twig' %}
{% block content %}
<h1>{{'document.index.list' | trans({},'CompanyBaseBundle') }}{# Documents list #}</h1>
<table class="records_list">
<thead>
<tr>
<th>{{'document.model.col.id' | trans({},'CompanyBaseBundle') }}</th>
<th>{{'document.model.col.title' | trans({},'CompanyBaseBundle') }}</th>
<th>{{'document.model.col.description' | trans({},'CompanyBaseBundle') }}</th>
<th>{{'document.index.actions' | trans({},'CompanyBaseBundle') }}</th>
</tr>
</thead>
<tbody>
{% for entity in entities %}
<tr>
<td><a href="{{ path('document_show', { 'id': entity.id }) }}">{{ entity.id }}</a></td>
<td>{{ entity.title }}</td>
<td>{{ entity.description }}</td>
<td>
<ul>
<li>
<a href="{{ path('document_show', { 'id': entity.id }) }}">show</a>
</li>
<li>
<a href="{{ path('document_edit', { 'id': entity.id }) }}">edit</a>
</li>
</ul>
</td>
</tr>
{% endfor %}
</tbody>
</table>
<ul>
<li>
<a href="{{ path('document_new') }}">
Create a new entry
</a>
</li>
</ul>
{% endblock %}