From 0e2b9b7225d71e6a1b8d9c929570daf5ef44c012 Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Thu, 11 Apr 2013 04:41:53 -0400 Subject: refactored the voting function a little --- askbot/templates/question.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'askbot/templates/question.html') diff --git a/askbot/templates/question.html b/askbot/templates/question.html index 6235f7ed..0ab4221a 100644 --- a/askbot/templates/question.html +++ b/askbot/templates/question.html @@ -298,7 +298,7 @@ askbot['urls']['convertComment'] = '{% url comment_to_answer %}'; askbot['urls']['getComment'] = '{% url get_comment %}'; askbot['urls']['saveDraftAnswer'] = '{% url save_draft_answer %}'; - askbot['urls']['vote_url'] = '{% url vote question.id %}'; + askbot['urls']['vote_url'] = '{% url vote %}' askbot['urls']['user_signin'] = '{{ settings.LOGIN_URL }}'; askbot['urls']['swap_question_with_answer'] = '{% url swap_question_with_answer %}'; askbot['urls']['upvote_comment'] = '{% url upvote_comment %}'; -- cgit v1.2.3-1-g7c22