Ver Mensaje Individual
  #4 (permalink)  
Antiguo 06/04/2015, 10:28
Avatar de hhs
hhs
Colaborador
 
Fecha de Ingreso: junio-2013
Ubicación: México
Mensajes: 2.995
Antigüedad: 10 años, 10 meses
Puntos: 379
Respuesta: Devolver valor de una entidad y no el del metodo __toString

Seria algo como esto:
Código HTML:
Ver original
  1. <a href="{{ path('article_show', {'id': expediente.idSolicitante}) }}">
  2.         {{ expediente }}
  3.     </a>
Referencia: http://symfony.com/doc/current/book/...nking-to-pages
__________________
Saludos
About me
Laraveles
A class should have only one reason to change.