diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-04-11 04:41:53 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-04-11 04:41:53 -0400 |
commit | 0e2b9b7225d71e6a1b8d9c929570daf5ef44c012 (patch) | |
tree | 4214bf6991ea1b08d5689b739700e0f6216981ed /askbot/templates/question.html | |
parent | 6b5ad87abfcc97653b57974a4f75c27bc2b18cc6 (diff) | |
download | askbot-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.html | 2 |
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 %}'; |