aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2020-02-07 11:43:25 -0600
committerzsloan2020-02-07 11:43:25 -0600
commit2668dabc88add8485e9b1b8216c82c2545c1d8e4 (patch)
treeebffabc7dc4b6f66c738860c0cd73b8d2dd8dcd4
parent9bb737b75813399b12acf5318107bae9bb452b53 (diff)
downloadgenenetwork2-2668dabc88add8485e9b1b8216c82c2545c1d8e4.tar.gz
Tour link now redirects to GN1
-rw-r--r--wqflask/wqflask/views.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py
index ee8bd8a0..00cdd1ab 100644
--- a/wqflask/wqflask/views.py
+++ b/wqflask/wqflask/views.py
@@ -66,6 +66,7 @@ from utility.benchmark import Bench
from pprint import pformat as pf
from wqflask import user_manager
+
from wqflask import collect
from wqflask.database import db_session
@@ -793,6 +794,12 @@ def snp_browser_page():
return render_template("snp_browser.html", **template_vars.__dict__)
+@app.route("/tutorial/WebQTLTour", methods=('GET',))
+def tutorial_page():
+ #ZS: Currently just links to GN1
+ logger.info(request.url)
+ return redirect("http://gn1.genenetwork.org/tutorial/WebQTLTour/")
+
@app.route("/submit_bnw", methods=('POST',))
def submit_bnw():
logger.info(request.url)