summaryrefslogtreecommitdiffstats
path: root/askbot/templates/question.html
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-04-11 04:41:53 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-04-11 04:41:53 -0400
commit0e2b9b7225d71e6a1b8d9c929570daf5ef44c012 (patch)
tree4214bf6991ea1b08d5689b739700e0f6216981ed /askbot/templates/question.html
parent6b5ad87abfcc97653b57974a4f75c27bc2b18cc6 (diff)
downloadaskbot-0e2b9b7225d71e6a1b8d9c929570daf5ef44c012.tar.gz
askbot-0e2b9b7225d71e6a1b8d9c929570daf5ef44c012.tar.bz2
askbot-0e2b9b7225d71e6a1b8d9c929570daf5ef44c012.zip
refactored the voting function a little
Diffstat (limited to 'askbot/templates/question.html')
-rw-r--r--askbot/templates/question.html2
1 files changed, 1 insertions, 1 deletions
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 %}';