aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask
diff options
context:
space:
mode:
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():