浏览代码

Correction erreur RT sur profil

SPAETER NATHAN 4 年之前
父节点
当前提交
8c37500904
共有 1 个文件被更改,包括 2 次插入1 次删除
  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 %}