Просмотр исходного кода

Fixed edit post url in template

Ralfp 12 лет назад
Родитель
Сommit
419dd34b76
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      templates/cranefly/private_threads/posting.html

+ 1 - 1
templates/cranefly/private_threads/posting.html

@@ -117,7 +117,7 @@
 {% url 'private_thread_reply' thread=thread.pk, slug=thread.slug %}
 {%- endif -%}
 {%- elif action == 'edit_reply' -%}
-{% url 'post_edit' thread=thread.pk, slug=thread.slug, post=post.pk %}
+{% url 'private_post_edit' thread=thread.pk, slug=thread.slug, post=post.pk %}
 {%- endif %}
 {%- endmacro %}