aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask
diff options
context:
space:
mode:
authorAlexander_Kabui2024-08-22 14:40:57 +0300
committerBonfaceKilz2024-08-29 18:58:56 +0300
commit39cb5deed5f33122ea2cc8502945f171367db5df (patch)
tree9c35e5d3691e7f47253b76d90e5bf4d0a14b9445 /gn2/wqflask
parentfbf9710ff0b8dd3443c6f1c2d61828030d57a0e2 (diff)
downloadgenenetwork2-39cb5deed5f33122ea2cc8502945f171367db5df.tar.gz
Rename edit endpoint from /editor to editor/edit
Diffstat (limited to 'gn2/wqflask')
-rw-r--r--gn2/wqflask/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn2/wqflask/views.py b/gn2/wqflask/views.py
index 4c7a0ae2..995b2b31 100644
--- a/gn2/wqflask/views.py
+++ b/gn2/wqflask/views.py
@@ -310,7 +310,7 @@ def gnqna():
return render_template("gnqa.html", prev_queries=prev_queries)
-@app.route("/editor/", methods=["GET"])
+@app.route("/editor/edit", methods=["GET"])
@require_oauth2
def edit_gn_doc_file():
file_path = request.args.get("file-path", "")