diff options
Diffstat (limited to 'gn2/wqflask/views.py')
-rw-r--r-- | gn2/wqflask/views.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gn2/wqflask/views.py b/gn2/wqflask/views.py index e08ccd8e..5d2bdfb2 100644 --- a/gn2/wqflask/views.py +++ b/gn2/wqflask/views.py @@ -315,11 +315,17 @@ def edit_gn_file(): return render_template("gn_editor.html") -@app.route("/editor/commit", methods=["GET"]) -def commit_page(): +@app.route("/editor/settings", methods=["GET"]) +def editor_settings(): return render_template("gn_editor_settings.html") +@app.route("/editor/commit", methods=["GET", "POST"]) +def commit_editor(): + if request.method == "GET": + return render_template("gn_editor_commit.html") + + @app.route("/gnqna/hist/", methods=["GET"]) @require_oauth2 def get_hist_titles(): |