about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gn2/wqflask/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gn2/wqflask/views.py b/gn2/wqflask/views.py
index 3f8991f2..f073859c 100644
--- a/gn2/wqflask/views.py
+++ b/gn2/wqflask/views.py
@@ -1635,7 +1635,7 @@ def edit_wiki(comment_id: int):
             "species": post_data["species"],
             "comment": post_data["comment"],
             "email": post_data["email"],
-            "web_url": post_data["web_url"],
+            "web_url": web_url,
             "initial": post_data["initial"],
             "categories": post_data.getlist("genecategory"),
             "reason": post_data["reason"],
@@ -1657,7 +1657,7 @@ def edit_wiki(comment_id: int):
         post_res = post_response.json()
 
         flash(f"Success: {post_res}", "alert-success")
-        return redirect(url_for("edit_wiki", comment_id=comment_id))
+        return redirect(url_for("display_genewiki_page", symbol=post_data["symbol"]))
 
 
 @app.route("/genewiki", methods=["POST", "GET"])