|
@@ -46,7 +46,7 @@ def view(ballot_id):
|
|
|
question = Question.query.get(question_id)
|
|
|
if question.has_voten(user_id):
|
|
|
flash('Je hebt al gestemd.', 'warning')
|
|
|
- return redirect(url_for('backend_backend_vote.view', ballot_id=ballot.id))
|
|
|
+ return redirect(url_for('vote.view', ballot_id=ballot.id))
|
|
|
|
|
|
option = question.options.filter(Option.id == option_id).first()
|
|
|
|