1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-12 10:45:38 +02:00

Redirect to the fetch list after creation

This commit is contained in:
Pierre Jaury 2016-04-28 20:09:44 +02:00
parent 30ecbf81cd
commit f832b74c85

View File

@ -32,7 +32,7 @@ def fetch_create(user_address):
db.session.commit()
flask.flash('Fetch configuration created')
return flask.redirect(
flask.url_for('.fetch_create', user_address=user.address))
flask.url_for('.fetch_list', user_address=user.address))
return flask.render_template('fetch/create.html', form=form)