]> ToastFreeware Gitweb - philipp/winterrodeln/wradmin.git/blobdiff - wradmin/__init__.py
Whitespace cosmetics.
[philipp/winterrodeln/wradmin.git] / wradmin / __init__.py
index ba056c1ec8f5d4f21d6b6a840e95af579469c270..ebb1c94aa539be39b9e16edccbc5ed3d7ffb22b3 100644 (file)
@@ -55,21 +55,34 @@ 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")
+@login_required
 def bericht_list():
     return BerichtController().list()
 
 
 @app.route("/bericht/view/<int:id>")
+@login_required
 def bericht_view(id):
     return BerichtController().view(id)
 
 
 @app.route("/bericht/change_date_invalid/<int:id>", methods=['POST'])
+@login_required
 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()