Update 'app/views.py'

master
Pedro Sá Couto 5 years ago
parent a43ff51958
commit 8c8378b4c3

@ -243,7 +243,7 @@ def republish():
print("file saved")
# flash("file saved")
return redirect(request.url)
return redirect(url_for(republish))
return render_template("public/republish.html")

Loading…
Cancel
Save