fixed article creation

This commit is contained in:
2020-05-05 09:37:43 +02:00
parent d2bba8c8f3
commit 1cd81c5cfb
2 changed files with 6 additions and 2 deletions

View File

@@ -126,7 +126,7 @@ def doc_edit(request):
if doc_id != '0':
return HTTPFound(location=request.route_url('doc_view', doc_id=doc_id))
else:
return HTTPFound(location=request.route_url('archives',theme=doc.theme))
return HTTPFound(location=request.route_url('archives',theme=theme))
else:
message = "Veuillez saisir un intitule et un texte."