summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/thread.html
diff options
context:
space:
mode:
Diffstat (limited to 'hyperkitty/templates/thread.html')
-rw-r--r--hyperkitty/templates/thread.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/hyperkitty/templates/thread.html b/hyperkitty/templates/thread.html
index abf6747..a1bc38c 100644
--- a/hyperkitty/templates/thread.html
+++ b/hyperkitty/templates/thread.html
@@ -50,7 +50,7 @@
{% if user.is_authenticated %}
$.ajax({
type : "POST",
- url : '/vote/{{list_address}}/',
+ url : '{% url message_vote mlist_fqdn=list_address %}',
data : {
vote : 1,
messageid : message_id,
@@ -73,7 +73,7 @@
{% if user.is_authenticated %}
$.ajax({
type : "POST",
- url : '/vote/{{list_address}}/',
+ url : '{% url message_vote mlist_fqdn=list_address %}',
data : {
vote : -1,
messageid : message_id,