|
|
@@ -68,7 +68,7 @@ def create():
|
|
|
db.session.commit()
|
|
|
|
|
|
flash('Page "%s" successfully created' % ballot.name, 'success')
|
|
|
- return redirect(url_for('vote.view', ballot_id=ballot.id))
|
|
|
+ return redirect(url_for('backend_vote.view', ballot_id=ballot.id))
|
|
|
|
|
|
priorities = Priority.query.all()
|
|
|
|
|
|
@@ -122,7 +122,7 @@ def add_question(ballot_id):
|
|
|
db.session.add(option)
|
|
|
|
|
|
db.session.commit()
|
|
|
- return redirect(url_for('vote.view', ballot_id=ballot.id))
|
|
|
+ return redirect(url_for('backend_vote.view', ballot_id=ballot.id))
|
|
|
|
|
|
return render_template(
|
|
|
'backend_vote/add_question.j2',
|