diff options
author | Alexander_Kabui | 2024-08-22 14:40:57 +0300 |
---|---|---|
committer | BonfaceKilz | 2024-08-29 18:58:56 +0300 |
commit | 39cb5deed5f33122ea2cc8502945f171367db5df (patch) | |
tree | 9c35e5d3691e7f47253b76d90e5bf4d0a14b9445 | |
parent | fbf9710ff0b8dd3443c6f1c2d61828030d57a0e2 (diff) | |
download | genenetwork2-39cb5deed5f33122ea2cc8502945f171367db5df.tar.gz |
Rename edit endpoint from /editor to editor/edit
-rw-r--r-- | gn2/wqflask/views.py | 2 |
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", "") |