changeset 58:a9703864b18f

Fix authorlink in recent snippets
author Jordi Gutiérrez Hermoso <jordigh@gmail.com>
date Mon, 14 Feb 2011 07:20:55 -0600
parents dfff0bfa2dc1
children 0abd9ba5c9a8
files templates/snippet/snippet_new.djhtml
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/templates/snippet/snippet_new.djhtml
+++ b/templates/snippet/snippet_new.djhtml
@@ -27,7 +27,7 @@
           </a>
         by
           {% if r.author %}
-          <a href="{% url agora.apps.profile.views.showprofile user %}">
+          <a href="{% url agora.apps.profile.views.showprofile r.author %}">
             {{r.author}}
           </a>
           {% else %}