aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask
diff options
context:
space:
mode:
authorAlexander_Kabui2024-08-05 17:43:06 +0300
committerBonfaceKilz2024-08-29 18:58:56 +0300
commitef1f20358622e2f3411ebd9ffec2eee02f673ce9 (patch)
treed3ae3829a2368574dd0d5acfd78cbdffbb13c8b0 /gn2/wqflask
parentf9cbfadca132f62eeca6c2eb10b7f02e05fb9a6b (diff)
downloadgenenetwork2-ef1f20358622e2f3411ebd9ffec2eee02f673ce9.tar.gz
Add initial endpoint for serving edit files
Diffstat (limited to 'gn2/wqflask')
-rw-r--r--gn2/wqflask/views.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/gn2/wqflask/views.py b/gn2/wqflask/views.py
index 93b7c958..1e22544d 100644
--- a/gn2/wqflask/views.py
+++ b/gn2/wqflask/views.py
@@ -310,6 +310,11 @@ def gnqna():
return render_template("gnqa.html", prev_queries=prev_queries)
+@app.route("/editor/", methods=["GET"])
+def edit_gn_file():
+ return render_template("gn_editor.html")
+
+
@app.route("/gnqna/hist/", methods=["GET"])
@require_oauth2
def get_hist_titles():