aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRahiel Kasim <rahielkasim@gmail.com>2018-12-27 15:53:18 +0100
committerRahiel Kasim <rahielkasim@gmail.com>2018-12-27 15:53:18 +0100
commitd551f944aa364728d97bb2b672276a97f8019749 (patch)
tree01031c75b133dd0b60d4b15649255a842998f853
parent438ff77edcd76e7a18902d11abe389d2493910ba (diff)
cleanup
-rw-r--r--hortiradar/website/app.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/hortiradar/website/app.py b/hortiradar/website/app.py
index 2344925..29d8c68 100644
--- a/hortiradar/website/app.py
+++ b/hortiradar/website/app.py
@@ -300,12 +300,6 @@ def view_keyword(keyword):
}
return render_template("keyword.html", title=make_title(keyword), **template_data)
-@bp.route("/query")
-def view_query(keyword):
- if not is_deluxe(current_user):
- flash("Deze functionaliteit is alleen beschikbaar voor goedgekeurde gebruikers.", "error")
- return redirect(url_for("horti.home"))
-
@bp.route("/news/<keyword>")
def view_news(keyword):
period, start, end, cache_time = get_period(request, "week")