Browse Source

Correction erreur RT sur profil

SPAETER NATHAN 4 years ago
parent
commit
8c37500904
1 changed files with 2 additions and 1 deletions
  1. 2 1
      templates/profile/index.html.twig

+ 2 - 1
templates/profile/index.html.twig

@@ -64,7 +64,8 @@
 							</h5>
 							<h6 class="card-subtitle mb-2 text-muted">{{ msg.getDate()|date('H:i - d/m/Y') }}</h6>
 							<p class="card-text">{{ msg.text | striptags('<a>') | raw }}</p>
-							<a href="#" class="card-link">RT</a>
+							<a href="{{ path('message', {'msgId': msg.getId() }) }}" class="card-link">Répondre</a>
+							<a href="{{ path('rt_message', {'msgId': msg.getId() }) }}" class="card-link">RT</a>
 						</div>
 					</div>
 				{% endfor %}