summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/message.html
diff options
context:
space:
mode:
Diffstat (limited to 'hyperkitty/templates/message.html')
-rw-r--r--hyperkitty/templates/message.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/hyperkitty/templates/message.html b/hyperkitty/templates/message.html
index 592e85d..5fd81a8 100644
--- a/hyperkitty/templates/message.html
+++ b/hyperkitty/templates/message.html
@@ -22,7 +22,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,
@@ -45,7 +45,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,