]> ToastFreeware Gitweb - philipp/winterrodeln/wradmin.git/blobdiff - wradmin/__init__.py
Implement update_wrreportcache functionality via GUI.
[philipp/winterrodeln/wradmin.git] / wradmin / __init__.py
index ba056c1ec8f5d4f21d6b6a840e95af579469c270..6d8684f37dfbb1286cfa00637da26e6005b1f1ee 100644 (file)
@@ -54,6 +54,9 @@ def rodelbahn_update():
 def rodelbahn_update_regioncache():
     return RodelbahnController().update_regioncache()
 
+@app.route("/rodelbahn/update_mapcache")
+def rodelbahn_update_mapcache():
+    return RodelbahnController().update_mapcache()
 
 @app.route("/bericht/list")
 def bericht_list():
@@ -70,6 +73,11 @@ def bericht_change_date_invalid(id):
     return BerichtController().change_date_invalid(id)
 
 
+@app.route("/bericht/update_reportcache")
+def bericht_update_reportcache():
+    return BerichtController().update_reportcache()
+
+
 @app.route("/gasthaus/list")
 def gasthaus_list():
     return GasthausController().list()